码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2015-10-30 12:13:40      阅读:218      评论:0      收藏:0      [点我收藏+]

标签:

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?

标签:

原文地址:http://www.cnblogs.com/pengyingh/p/4922823.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!