1. 程式人生 > >Execution failed for task ':xxxx:lint'. > Lint found errors in the project; aborting build.

Execution failed for task ':xxxx:lint'. > Lint found errors in the project; aborting build.

* What went wrong:
Execution failed for task ':xxxx:lint'.
> Lint found errors in the project; aborting build.

Fix the issues identified by lint, or add the following to your build script to
proceed with errors:
...
android {
    lintOptions {
        abortOnError false
    }
}
...
解決方法:
    <span style="color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; background-color: rgb(250, 247, 239);">在build.gradle的</span><a target=_blank href="http://lib.csdn.net/base/15" class="replace_word" title="Android知識庫" target="_blank" style="text-decoration: none; color: rgb(223, 52, 52); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; font-weight: bold;">Android</a><span style="color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; background-color: rgb(250, 247, 239);">節點新增</span>
<span style="color: rgb(57, 57, 57); font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px; background-color: rgb(250, 247, 239);"></span><pre name="code" class="java"> lintOptions {
        abortOnError false
    }


Android學習交流群:523487222


Android學習交流群:523487222