打包错误:`Error:Execution failed for task ':app:lintVitalRelease'.
16lz
2022-05-29
错误代码:
`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
}
}`
解决办法如提示:
lintOptions { checkReleaseBuilds false abortOnError false}
更多相关文章
- android中自定义的一个可以弹出类似于提示更新的对话框
- Android(安卓)模拟器硬件加速
- Android:网络编程
- 【Android】播放提示音
- [React-Native 0.56.0]Android(安卓)Could not find support-ann
- android启动SDK Manager闪退问题
- Android中的异常处理 CrashHandler
- 利用半透明对话框实现新浪微博android客户端首次运行时的提示界
- Android(安卓)EditText 为空提示 密码隐藏