Skip to content Skip to sidebar Skip to footer

Android Studio - Gradle Manifest File Path

I was trying to add the v4 support library in Android Studio. My build.gradle lookes like this so far : buildscript { repositories { mavenCentral() } dependencies { c

Solution 1:

The best way to add the support library to your project:

  1. Open build.gradle (the one with the android and dependencies element).
  2. Under dependencies add compile 'com.android.support:support-v4:+'

It should look as follows:

dependencies {
    compile 'com.android.support:support-v4:+'//... your previous existing dependencies after here
}

You can replace the + symbol with a specific version, but the + symbol is preferable since it ensures you will get the latest version of the library.

Post a Comment for "Android Studio - Gradle Manifest File Path"