Error:(xx) Error: “xxxxxxx” is not translated in “en” (English)[MissingTranslation]

  • Post author:
  • Post category:其他



现象:


Android

导出APK包时出现,编译调试时不会出现。在打apk真实包的时候,会出现以下问题。


错误信息:


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]



错误截图:












解决办法:




resources 标签内增加xmlns:tools=”http://schemas.android.com/tools” tools:ignore=”MissingTranslation”两个属性即可





  1. <?


    xml




    version


    =


    “1.0”




    encoding


    =


    “utf-8”




    ?>





  2. <


    resources




    xmlns:tools


    =


    “http://schemas.android.com/tools”





  3. tools:ignore


    =


    “MissingTranslation”


    >





  4. </


    resources


    >





版权声明:本文为qq_35534596原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。