Manifest Merging Failed: Android Studio
Solution 1:
You will be ended up with this error, If your libraries/modules uses different minSdkVersion
or targetSdkVersion
inside your project.
To find , In which module actual conflicts are happening you can see your Gradle Console output.
Best practice is to have minSdkVersion 8
at least because most of the libraries like play services etc using this.
Please do the following change and sync Project with gradle
Try to Use minsdkVesion 8
in all your build.gradle
files as well as AndroidManifest.xml
files ans sync.
If it doesn't solves the problem go through your gradle console to and make required changes as per the error shown.
Note : While compilation, your minSdkVersion and targetSdkVersion in AndroidManifest.xml will be overridden by what you have mention in your build.gradle files.
Solution 2:
I think slidingMenu library minSdkVersion is greater than yours (minSdkVersion 4). So manifests cant be merged. You cant use library that requires min version 11 (e.g.) in app that works on api version 4.
Post a Comment for "Manifest Merging Failed: Android Studio"