Too many supported localizations in Google Play

2020-06-27 09:18发布

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?

Google Play Screenshot

1条回答
我命由我不由天
2楼-- · 2020-06-27 09:27

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"
}
查看更多
登录 后发表回答