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,显示中文为乱码
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,显示中文为乱码

3万+

被折叠的 条评论
为什么被折叠?



