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

来源:互联网 发布:淘宝模版如何制作 编辑:程序博客网 时间:2024/06/06 16:40

转载请注明出处: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>
把它拷贝进去,对应目标语言就行啦



阅读全文
0 0