Manifest Merger Fails
So recenlty I have been getting this error out of one of my projects: Error:Execution failed for task ':ListViewAnimations-core-slh:processDebugAndroidTestManifest'. > java.lang
Solution 1:
This error message is perhaps a little misleading if you don't know how Android Studio creates a manifest file for your Android app. In this situation, it is important to understand that there are many variables set in app/build.gradle
which are used while generating the manifest file. Specifically, the error message references the minSdkVersion
value. You should open app/build.gradle
and find the line with this variable. Then change its value to 7 or greater. In fact, many current apps use a value of at least 16.
Modify build.gradle
as follows:
android {
compileSdkVersion 21
buildToolsVersion "22.0.1"
defaultConfig {
minSdkVersion 7// This can be any number greater than 7
}
// ...
}
Post a Comment for "Manifest Merger Fails"