Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
问题:
当我执行 gradle lint 时,它会检测两种产品风味。一个还没有准备好,所以它总是失败(不是所有的字符串都在那里)。
我想要的是:
我真的想要一些选项来说 lint only 这个产品的味道
你可以运行:
gradle lintFlavorType
此外,在您的 build.gradle 中,您可以添加此选项
android { lintOptions { // if true, stop the gradle build if errors are found abortOnError false } }