现象:
Android导出APK包时出现,编译调试时不会出现。在打apk真实包的时候,会出现以下问题。
错误信息:
/Users/mz/Desktop/zzslxx/IMKit/src/main/res/values/rc_ext_string.xml
Error:(21) Error: "rc_real_time_join_notification" is not translated in "en" (English) [MissingTranslation]
Error:(24) Error: "rc_real_time_exit_notification" is not translated in "en" (English) [MissingTranslation]
错误截图:
解决办法:
resources 标签内增加
xmlns:tools="http://schemas.android.com/tools"
tools:ignore="MissingTranslation"两个属性即可