Google Play 上架时 ,要求应用的 " target API level " 必须大于等于 ,大部分情况不用上架谷歌商店直接关闭 lint 检查即可 。
在app的build.gradle 的android块里设置
android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}