美文网首页
android studio关于targetSdk versio

android studio关于targetSdk versio

作者: 周蛋蛋 | 来源:发表于2019-05-13 17:46 被阅读0次

从网上导入项目,然后Android studio报错

The minSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.

The targetSdk version should not be declared in the android manifest file. You can move the version from the manifest to the defaultConfig in the build.gradle file.

大致意思是是说:

minSdk版本不应该在android清单文件中声明。您可以将版本从清单移动到build.gradle文件中的默认Config。

targetSdk版本不应该在android清单文件中声明。您可以将版本从清单移动到build.gradle文件中的默认Config。

然后移除manifest中的minSdk,targetSdk就可以了!

相关文章

网友评论

      本文标题:android studio关于targetSdk versio

      本文链接:https://www.haomeiwen.com/subject/kapraqtx.html