app打包报错:Lint found fatal errors while assembling a release target.
Posted yun382657988
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了app打包报错:Lint found fatal errors while assembling a release target.相关的知识,希望对你有一定的参考价值。
app打包成正式包的时候报如下错误:
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
...
从以上log中看不到具体报错信息,查找原因 进入app->build->reports文件下,打开 lint-results-release-fatal.xml查看
原来是我之前删除的三方库,一些布局文件里id没有删除。clean一下,然后rebuild,再次打包,ok没有问题。
以上是关于app打包报错:Lint found fatal errors while assembling a release target.的主要内容,如果未能解决你的问题,请参考以下文章
Android签名打包出现Export aborted because fatal lint errors were found的解决
Execution failed for task :Test:lintVitalRelease/Lint found fatal errors while assembling a release(
错误记录Android Studio 编译时 lint 检查报错 ( Error: Google Play requires that apps target API level 29 or )
运行PHP-Parser报错:PHP Fatal error: Uncaught Error: Class ‘PhpParserParserFactory‘ not found
mac os上python报错 fatal error: 'Python.h' file not found
Qt for android编译报错218:12: fatal error: ‘features.h‘ file not found # include <features.h>