我已經構建了一個androidapp,我現在想打包一個APK。在應用程序中,我使用了Google Play服務庫。當我收拾行李時,我會在這些線路上收到錯誤信息......該怎麼辦?無法導出簽名/未簽名的應用程序包
<!-- Title of confirmation dialog informing the user that a network error occurred. [CHAR LIMIT=40] -->
<string name="common_google_play_services_network_error_title">Network Error</string>
<!-- Message in confirmation dialog informing the user that a network error occurred. [CHAR LIMIT=NONE] -->
<string name="common_google_play_services_network_error_text">A data connection is required to connect to Google Play services.</string>
<!-- Title of confirmation dialog informing the user that they provided an invalid account. [CHAR LIMIT=40] -->
<string name="common_google_play_services_invalid_account_title">Invalid Account</string>
<!-- Message in confirmation dialog informing the user that they provided an invalid account. [CHAR LIMIT=NONE] -->
<string name="common_google_play_services_invalid_account_text">The specified account does not exist on this device. Please choose a different account.</string>
<!-- Message in confirmation dialog informing user that date on the device is not correct,
causing certificate checks to fail. [CHAR LIMIT=NONE] -->
<string name="common_google_play_services_unsupported_date_text">The date on the device appears to be incorrect. Please check the date on the device.</string>
ERROR
"common_google_play_services_network_error_title" is not translated in be
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.)
[]
閱讀lint錯誤消息。它給你許多好的選擇。 – laalto