拷贝了份工程,改了改包名,就安装错误,打包错误,哎!好脆弱的感觉…回头有机会我要看本as相关的书籍了….
网友有分析,较详细: https://www.jianshu.com/p/326c91e344a8
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
}
}
...
解决:
///< 添加如下配置就ok了
lintOptions {
checkReleaseBuilds false
abortOnError false
}