Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 40303 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
If you're developing an Android app and add the Google Play Services or Android Support Library to you're app, you're probably suddenly seeing an enormous increase in supported languages when uploading the app to Google Play.
This happens, because those libraries ship with built-in multi-language support and Google Play has no way of knowing that those additional language files aren't coming from your app itself.
If you're developing with Java and Gradle, the solution is simple, just add this to your build.gradle file:
resConfigs "en", "de" <--
This way only German and English resources are included in your final APK.
If you're developing with Xamarin for Android, you're out of luck, there isn't a built-in way to do this.
- Manually decompile APK, remove languages needed, recompile APK (yick)
Follow the instructions from this SO post to see the generated Strings.xml for different languages
This problem is not limited to release builds only.
Limiting `resConfigs` to specific configurations is a recommended way to speed up build times.
* to speed up development/testing build times
"No way" is actually not true.
You can provide "AndroidResgenExtraArgs" in your project file and add "-c en,de" etc.
See aapt documentation:
-c specify which configurations to include. The default is all
configurations. The value of the parameter should be a comma
separated list of configuration values. Locales should be specified
as either a language or language-region pair. Some examples: