拷貝了份工程,改了改包名,就安裝錯(cuò)誤,打包錯(cuò)誤,哎!好脆弱的感覺...回頭有機(jī)會(huì)我要看本as相關(guān)的書籍了....
網(wǎng)友有分析,較詳細(xì): http://www.itdecent.cn/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
}