is not translated in 问题
如下图:
如果不希望提示,可以使用:
<resources tools:ignore="MissingTranslation" xmlns:tools="http://schemas.android.com/tools">
is translated here but not found in default local
添加下面内容
<resources tools:ignore="ExtraTranslation" xmlns:tools="http://schemas.android.com/tools">
遇到上面两种情况同样可以在
app 的build.gradle文件中,android 标签下使用
lintOptions { disable 'MissingTranslation', 'ExtraTranslation' }
这种方式在 apply plugin: 'com.android.application'中使用可以,
但是在apply plugin: 'com.android.library'使用没有效果,只能使用前面的两种方式