Skip to content Skip to sidebar Skip to footer

Manifest Merging Failed: Android Studio

I am not sure what's the issue. I googled and though it was about matching the sdk versions. They are the same as follows: build.gradle android { compileSdkVersion 17 buildToolsVer

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"