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:
- Open build.gradle (the one with the
android
anddependencies
element). - Under
dependencies
addcompile '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"