Gradle Build: Ausführung fehlgeschlagen für Task ': App: Lint'
Ich verwende Android Studio 2.0 und habe versucht, mein Programm auszuführen, wenn etwas Seltsames passiert ist. Ich habe den Build-Befehl des Gradles ausgeführt und folgenden Fehler erhalten:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app: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
}
}
...
* 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'.
Und so ... Was zum Teufel ist das? Ich soll dieses Problem lösen, indem ich den Code zu gradle.build hinzufüge, aber die Frage ist: Warum habe ich diese Fehlermeldung erhalten?
Bitte rette mich Leute!