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?
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.
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.
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"
Yes you can. The overview just displays the languages supported in your app. Distribution is independent from this setting.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With