当我尝试执行我的 android studio wear 应用程序时,它显示 lint 错误。
这是我的日志:
Error:Execution failed for task ':wear: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
}
}
...
最佳答案
将此添加到您的 build.gradle 文件中
android {
lintOptions {
abortOnError false
}
}
关于android - 如何删除 android studio 中的 lint 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25870932/