从网上导入项目,然后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就可以了!

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐