我无法编译/调试我们的 Android 应用,因为本地化文件还不完善.
I can't compile/debug our Android app, because the localization files are not perfect yet.
我的 IDE 的验证工具 Lint 会产生如下错误:
My IDE's validation tool Lint create errors saying:
newCardsOrderVals 未在 ar、bg、ca、cs 中翻译
newCardsOrderVals is not translated in ar, bg, ca, cs
使用 Ant 编译/安装/运行可以正常工作,但我想使用我的 IDE 来简化调试.
Compiling/installing/running with Ant works fine, but I would like to use my IDE to ease debugging.
有没有办法关闭此特定检查,或者理想情况下将其设为警告而不是错误?
Is there a way to turn off this particular check, or ideally make it a warning rather than an error?
我知道在发布之前我们确实需要正确获取本地化文件,但目前这不是优先事项,因为屏幕本身的修改非常频繁.
I understand that before release we will really need to get localisation files right, but for the time being it is not a priority as the screens themselves are being modified very frequently.
Android Studio:
Android Studio:
日食:
找到 MissingTranslation 行,并将其设置为 Warning,如下所示:
Find the MissingTranslation line, and set it to Warning as seen below:
这篇关于Lint:如何忽略“<key>"未翻译成<语言>"错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
Eclipse 的 Visual Studio Ctrl+Tab 和 Ctrl+Shift+Tab 等效项Eclipse#39;s Visual Studio Ctrl+Tab and Ctrl+Shift+Tab Equivalent(Eclipse 的 Visual Studio Ctrl+Tab 和 Ctrl+Shift+Tab 等效项)
如何防止 Eclipse 在包资源管理器中显示打开的文How to prevent Eclipse from showing the opened file in package explorer(如何防止 Eclipse 在包资源管理器中显示打开的文件)
导入 Xerces 库时无法构建应用程序(退出值 1)Can#39;t build app when I import Xerces library (exit value 1)(导入 Xerces 库时无法构建应用程序(退出值 1))
XML 解析器返回意外的令牌错误和空指针异常XML Parser Returning unexpected token error and null pointer exception(XML 解析器返回意外的令牌错误和空指针异常)
Java 解析 XML 文档给出“Prolog 中不允许的内容&qJava parsing XML document gives quot;Content not allowed in prolog.quot; error(Java 解析 XML 文档给出“Prolog 中不允许的内容.错误)
如何在 Eclipse 中将源附加到 Google Drive API 或“AHow to attach source to Google Drive API or `Android Private Library` in Eclipse(如何在 Eclipse 中将源附加到 Google Drive API 或“Android Pr