由于添加ShareSDK文件,导致打包突然报错,
错误信息:
Error:(16) Error: “baidutieba_client_inavailable” is not translated in “en” (English) [MissingTranslation]
Error:(63) Error: “baidutieba” is not translated in “en” (English) [MissingTranslation]
Error:(67) Error: “share_to_baidutieba” is not translated in “en” (English) [MissingTranslation]
解决办法:
String之类的文件里面 resources 标签内增加xmlns:tools=”http://schemas.android.com/tools”
tools:ignore=”MissingTranslation”两个属性即可
例如代码: