Add following at the header of your strings.xml file

 

<resources
xmlns:tools="http://schemas.android.com/tools" 
    tools:locale="en" tools:ignore="MissingTranslation">

or:

In "Window" > "Preferences" > "Android" > "Lint Error Checking":
(For Mac, "Eclipse" > "Preferences" > "Android" > "Lint Error Checking")

Find the MissingTranslation line, and set it to Warning as seen below:

安卓编译 translate error Lint: How to ignore “<key> is not translated in <language>” errors?

相关文章:

  • 2021-12-17
  • 2021-12-20
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-12-02
猜你喜欢
  • 2021-09-20
  • 2021-11-19
  • 2021-06-25
  • 2021-11-24
  • 2021-12-18
  • 2021-12-11
  • 2021-12-26
相关资源
相似解决方案