How to get rid of this error Failed processing manifest?

时光毁灭记忆、已成空白 提交于 2020-01-16 00:46:24

问题


I got the above error when I changed minsdk to 21 and targetsdk to 23 both from API 26. It also shows some warnings like minsdkVersion (28) is greater than targetsdkversion (23) for variant release. What is the issue?


回答1:


There are two build.gradle files that you need to make sure their version is the same as your AndroidManifest.xml, one is in root directory of the project, which should be having lines containing defaultMinSdkVersion and defaultTargetSdkVersion. The other is inside your app directory and it shouldn't have any of such lines. After changing those make sure you do a clean build again.



来源:https://stackoverflow.com/questions/53911540/how-to-get-rid-of-this-error-failed-processing-manifest

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