欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 人文社科 > 生活经验 >内容正文

生活经验

Lint found fatal errors while assembling a release target.

发布时间:2023/11/27 生活经验 38 豆豆
生活随笔 收集整理的这篇文章主要介绍了 Lint found fatal errors while assembling a release target. 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

错误如下

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

放到gradle 中忽略检查

建议到app下面的build

这个下面查看错误提示所在的地方。。。。。。。。。。例如下面的:

 

如果没有错误它里面是

<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 3.4.1"></issues>

如果有错误里面会有提示的。。。。。。。。。。。。

总结

以上是生活随笔为你收集整理的Lint found fatal errors while assembling a release target.的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。