android studio关于targetSdk version,minSdk version报错

从网上导入项目,然后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,Android,studio)