hwoarang69 11 Newbie Poster

I am trying to add banner ads(admob.com) on my libgdx android app. but I am getting an following error:

"Common_google_play_services_notification_ticker" is not translated in "be" (Belarusian)(11 iteams)...

This error was in "common_string.xml" file in my "google-play-services_lib" folder

<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!--  Title for notification shown when GooglePlayServices is unavailable [CHAR LIMIT=42] -->
<string name="common_google_play_services_notification_ticker">Google Play services error</string>
....

I tried putting (translatable="false") in my string but did not worked. I also Tried clearing my project but did not worked.

Only thing i did not try was

window->Preferences->Android->Lint Error Checking

this is becuase i cant find Lint Error Checking under preference->android.

Dani AI

Generated

This is a lint/localization issue, not an AdMob runtime bug. Lint’s MissingTranslation check is telling you that a Play Services string (for example common_google_play_services_notification_ticker) exists in the default resources but has no Belarusian (values-be) equivalent in the merged resources. That can happen when any values-xx folder exists in the app or one of the libraries — Lint then expects translations for all strings. tried translatable="false", which can work, but only if the attribute is applied to the resource that Lint actually sees (your app’s resource should override the library one), and if lint settings are not configured to treat the warning as an error.

Practical fixes (pick one):

  • Remove the stray values-be folder if you don’t target Belarusian. Search your workspace and library projects for values-be and delete it.
  • Provide translations: add a res/values-be/strings.xml with the missing entries (quick but manual).
  • Override the library strings in your app and mark them non-translatable so Lint stops expecting translations (app resources override library resources).
  • Suppress the check: add a project-level lint.xml or disable MissingTranslation in Gradle (if you’re using Gradle/Android Studio) so the check is ignored.

Example lint suppression files (place at the project root):

<?xml version="1.0" encoding="UTF-8"?>
<lint>
    <issue id="MissingTranslation" severity="ignore" />
</lint>

Or in Gradle:

android {
    lintOptions {
        disable 'MissingTranslation'
        // or
        // abortOnError false
    }
}

Notes and cautions: do not permanently edit SDK library files in the Android SDK folder — updates will overwrite changes. If you can, migrate to the Gradle/AAR play-services artifacts (added as a dependency) — resource merging and lint handling are simpler there. See Android localization and lint docs for details: Localization guide and Android Lint.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.