VLCVLC测试过程

VLC测试过程


1.本机模拟器运行正常。


2.安装vlc.apk,提示正常。


3.打包成签名的apk.提示出错。


"abs__action_bar_home_description" is not translated in ar, bn-rIN, bs, ca, cs, cy, da, de, el, 


es, et, eu, fr, gd, gl, he, hi, hr, is, it, ja, km, kn, ko, lt, mr, my, nb, nl, or, pl, pt, pt-rBR, ru, 


sk, sl, sr, te, th, tr, uk, ur, vi, wa, zh-rCN, zh-rTW


Issue: Checks for incomplete translations where not all strings are translated
Id: MissingTranslation


If an application has more than one locale, then all the strings declared in one language should also be 


translated in all other languages.


If the string should not be translated, you can add the attribute translatable="false" on the <string> 


element, or you can define all your non-translatable strings in a resource file called 


donottranslate.xml. Or, you can ignore the issue with a tools:ignore="MissingTranslation" attribute.


By default this detector allows regions of a language to just provide a subset of the strings and fall 


back to the standard language strings. You can require all regions to provide a full translation by 


setting the environment variable ANDROID_LINT_COMPLETE_REGIONS.


You can tell lint (and other tools) which language is the default language in your res/values/ folder by 


specifying tools:locale="languageCode" for the root <resources> element in your resource file. (The 


tools prefix refers to the namespace declaration http://schemas.android.com/tools.)


[]


"enable_wheel_bar" is translated here but not found in default locale


Issue: Checks for translations that appear to be unused (no default language string)
Id: ExtraTranslation


If a string appears in a specific language translation file, but there is no corresponding string in the 


default locale, then this string is probably unused. (It's technically possible that your application is 


only intended to run in a specific locale, but it's still a good idea to provide a fallback.).


Note that these strings can lead to crashes if the string is looked up on any locale not providing a 


translation, so it's important to clean them up.


[]




处理办法:在eclipse中的Windows-->Preferences-->Android-->Lint Error Checking-->Issues
分别输入MissingTranslation和ExtraTranslation
将Severity:类型改为Warming
然后,在eclipse中的Project-->Clean
接着,再签名打包apk










4.去掉提示信息


5. 安装后的vlc,显示中文为乱码





评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值