- 问题描述:Error: “ke” is not translated in “en” (English), “pt” (Portugu
解决方法:在 build.gradle(Module:app) 下加入:
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
}
}
思路总结:先看log(下边就是log内容),其实处理方法就在log中,先不要急着去百度 谷歌
Error:Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.
To proceed, either fix the issues identified by lint, or modify your build script as follows:
...
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
}
}