android studio关于targetSdk version,minSdk version报错
16lz
2021-01-23
从网上导入项目,然后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 自定义View 在布局文件中写法
- Android上传下载文件(图片)
- Android SDK各版本源码
- android 录像/打开video文件
- (原)Eclipse的java中文件读写
- Android File文件操作
- Android Button Maker(在线生成android shape xml文件的工具),真方