Too many supported localizations in Google Play

2020-06-27 09:16发布

问题:

When I uploaded an update to an app to Google Play today it showed that we suddenly support 63 new languages, which we don't. Any idea what is causing this?

回答1:

You probably have added a new library, such as Google Play Services, to your package which is adding its own resource files for additional languages.

If you are using Android Studio, you can set resConfigs to disable unsupported locales. See Putting Your APKs on Diet -> Minimize resources configurations by Cyril Mottier:

defaultConfig {
    // ...
    resConfigs "en", "de", "fr", "it"
}