我知道我可以忽略具有tools:ignore
属性的Lint中的规则
我的困难在于我想忽略几条规则。在我的例子中,对于谷歌分析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
中指定多个值
https://stackoverflow.com/questions/14459679
复制相似问题