当前位置: 代码迷 >> 综合 >> * What went wrong: Execution failed for task ':app:lintVitalRelease'. Lint found fatal errors whil
  详细解决方案

* What went wrong: Execution failed for task ':app:lintVitalRelease'. Lint found fatal errors whil

热度:86   发布时间:2023-10-18 17:58:09.0

打包报错:

* What went wrong:
Execution failed for task ':app:lintVitalRelease'.
> Lint found fatal errors while assembling a release target.

解决办法:

在build.gradle里面加入以下代码:

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}}

 

  相关解决方案