Error: "title_activity_hi" is translated here but not found in default locale [ExtraTranslation]

转载请注明出处:http://blog.csdn.net/yudbl/article/details/78675517


最近项目要做多语言,有好几年没做都快忘了。修改了strings.xml

中途还修改了其他功能,于是打包apk出现问题:Error: "title_activity_hi" is translated here but not found in default locale [ExtraTranslation]

意思是:此处翻译,但未在默认区域设置。

遇到错误,首先认真看错误提示内容。很明显就是 默认的values下面的strings.xml 没有声明描述此字符串

<string name="title_activity_hi">xxxxx</string>

把它拷贝进去,对应目标语言就行啦



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章