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工程下的

app/build/reports/lint-results-release-fatal.html 文件

打开后可以看到问题的详细原因:
Lint found fatal errors while assembling a release target. 解决办法

同理,改掉就好了

相关文章:

  • 2021-04-19
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
  • 2021-08-13
  • 2022-12-23
  • 2021-11-24
猜你喜欢
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-01-27
  • 2021-09-28
相关资源
相似解决方案