如何清除此错误失败的处理清单? [英] How to get rid of this error Failed processing manifest?

查看:75
本文介绍了如何清除此错误失败的处理清单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我从API 26分别将 minsdk 更改为21,将 targetsdk 更改为23时,出现了上述错误.它还显示了一些警告,例如 minsdkVersion (28)大于 targetsdkversion (23)的版本.有什么问题吗?

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?

推荐答案

您需要确保两个 build.gradle 文件的版本与您的 AndroidManifest.xml版本相同,一个位于项目的根目录中,该目录的行应包含 defaultMinSdkVersion defaultTargetSdkVersion .另一个在您的应用程序目录中,并且其中不应包含任何此类行.更改这些内容后,请确保再次进行干净的构建.

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.

这篇关于如何清除此错误失败的处理清单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆