android-打包错误...failed...′:app:lintVitalRelease′′.
拷贝了份工程,改了改包名,就安装错误,打包错误,哎!好脆弱的感觉...回头有机会我要看本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
}
}
...
【android-打包错误...failed...′:app:lintVitalRelease′′.】解决:
///< 添加如下配置就ok了
lintOptions {
checkReleaseBuilds false
abortOnError false
}
推荐阅读
- 唱歌教学(导致嗓音损坏的几个常见的错误唱歌方法!)
- 调取接口时报404错误(ID:16)
- Beego打包部署到Linux
- 接口|axios接口报错-参数类型错误解决
- 碧珠生活智慧语录24-1(没有错误)
- 追女生的七种错误思维
- c#常用网址记录
- sentry搭建错误监控系统(二)
- 跑步锻炼却伤了膝盖(10|跑步锻炼却伤了膝盖?10 个容易犯的错误,别再做了!)
- jar|springboot项目打成jar包和war包,并部署(快速打包部署)