AndroidStudio打包apk出现的问题 `Error:Execution failed for task ':app:lintVitalRelease'
16lz
2021-12-04
打包的时候出现如下错误:
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
}
}
如果确认可以忽略lint检查出来的错误,可以做如下设置:
app.gradle中的android中加入
lintOptions { checkReleaseBuilds false abortOnError false}
更多相关文章
- Android(安卓)Studio 打包错误org.gradle.api.InvalidUserDataEx
- [android]android自动化测试十三之JavaMonkey跨APP操作
- android Imageview 图片覆盖具体实现
- Android(安卓)4.4报错,Android(安卓)7.0运行正常 Window type can
- Android中获得SD卡中的值
- Android(安卓)studio 签名 报错:Could not download groovy-all.j
- 编译代码报出Android(安卓)library projects cannot be launched
- Android中获得SD卡中的值
- Android中获得SD卡中的值