Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android build.gradle defaultConfig { resConfig "en" } effect on Localization & Distribution in the Google Play Store

I am using the answer here: Android support library increases APK size a lot

To reduce the apk size by removing localizations I am not using from the support library as follows:

defaultConfig {
    ...
    resConfig "en"
}

And it work :)

When I upload my apk to Google Play I believe that I would see

Localizations default

instead of

Localizations default + 73 languages

If this is true, will limiting the Localizations affect/reduce the countries I can distribute too?

To put it clearer, if my apk is localized to english only can I still distribute to all countries?

like image 554
Philip Herbert Avatar asked Mar 06 '15 18:03

Philip Herbert


People also ask

Where do I put the jcenter () in a Gradle?

Note: There are two versions of the build.gradle file created, one in the main project folder and one in the \apps folder. Make sure the [project]\build.gradle file has the jcenter () in list of repositories in the allprojects {} closure.

How do I add JavaDocs to a Gradle project?

To add the Javadocs to your project see Registering Javadocs to an Android Studio Gradle project. For information on adding additional features see Adding the optional MobileFirst components with Gradle. This line adds the ability for a designated MobileFirst UI activity to run in the user application.

Is it normal to select Android build SDK android-30 in build steps?

It's not normal to select android build SDK android-30 in the Build Steps and at the end build a sdk is 28. A minimal patch is to add a warning in this page to say "the real version is in template, build.graddle"


1 Answers

Yes you can. The overview just displays the languages supported in your app. Distribution is independent from this setting.

like image 98
nickmartens1980 Avatar answered Oct 09 '22 02:10

nickmartens1980