几个警告,我知道我可以忽略林特与属性tools:ignore
忽略Android的皮棉
规则我的困难是,我想忽略一些规则。 在我的情况下,谷歌分析ga_trackingId
,我想忽略TypographyDashes和MissingTranslation
我没有成功尝试
<resources tools:ignore="TypographyDashes|MissingTranslation" xmlns:tools="https://schemas.android.com/tools" >
和
<resources tools:ignore="TypographyDashes,MissingTranslation" xmlns:tools="https://schemas.android.com/tools" >
和
<resources tools:ignore="TypographyDashes MissingTranslation" xmlns:tools="https://schemas.android.com/tools" >
我现在没有想法。如何在tools:ignore
中指定多个值?
根据文件逗号分开,应该这样做。查看此开发者页面的底部; http://developer.android.com/tools/debugging/improving-w-lint.html – harism
感谢指针@harism。我已经打开了[问题43070](http://code.google.com/p/android/issues/detail?id=43070) – rds
@harism良好的命名空间;我想用你接受的答案 – rds