您的位置: 首页 > 文章 > Error:The minSdk version should not be declared in the android manifest file. Error:The minSdk version should not be declared in the android manifest file. 分类: 文章 • 2024-10-04 17:51:16 找到导入项目的mainifest.xml 然后把mainifest中的minSdkVersion和targetSdkVersion删去即可 原因:Androidstudio3.0 以后 不能在manifest.xml 设置这些 必须在 gradle里设置