如何删除 android studio 中的 lint 错误 [英] How to remove lint errors in android studio
本文介绍了如何删除 android studio 中的 lint 错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试执行我的 android studio Wear 应用程序时,它显示了 lint 错误.
when i was trying to execute my android studio wear application it shows lint error.
这是我的日志:
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 文件
Add this to your build.gradle file
android {
lintOptions {
abortOnError false
}
}
这篇关于如何删除 android studio 中的 lint 错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文