Gradle build: Execution failed for task ':app:lint'
<p>I'm using Android Studio 2.0 and I was trying to running my program when something strange happened. I ran the build command of the gradle and I got this error:</p>

<pre><code>FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:lint'.
&gt; 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
    }
}
...

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.197 secs
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
    }
}
...
10:41:28: External task execution finished 'build'.
</code></pre>

<p>And so... What the hell is that? I'm supposed to do to solve this problem adding the code to the gradle.build, but the question is: <strong>why I got this error message?</strong></p>

<p>Please save me guys!</p>