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.的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 挖机多少钱一台啊?
- 下一篇: android 隐藏底部虚拟按键