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>

把它拷貝進去,對應目標語言就行啦



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