"xxx" is not translated in "en" (English) or "zh" (Chinese) less... (Ctrl+F1)

作为跟我一样,看到一大堆warnning和error,就有点强迫症的想干掉,就有2种方式:

1.给resources标签添加一个属性

 
 
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">

2.也可以添加translatable="false"给个别的需要的string标签


猜你喜欢

转载自blog.csdn.net/u010231454/article/details/80193104