小编Dav*_*ide的帖子

Gradle build:任务执行失败':app:lint'

我正在使用Android Studio 2.0,当发生奇怪的事情时,我正试图运行我的程序.我运行了gradle的build命令,我收到了这个错误:

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 …
Run Code Online (Sandbox Code Playgroud)

android gradle android-studio android-gradle-plugin android-studio-2.0

25
推荐指数
4
解决办法
4万
查看次数