Manifest Merging Failed: Android Studio

浪尽此生 提交于 2019-12-01 11:57:00

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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!