android - Remove unused localizations from APK -
for android app no localizations (default language only), how can exclude localizations gradle dependencies?
background: app line-of-business app language needs support english. app includes com.google.android.gms:play-services-gcm:7.0.0
push notification support. gcm library includes localizations in 73 languages. i'd rather not included. keeps apk smaller. additionally, if user running non-english language, don't want experience mix of english , localized text.
in build.gradle, add resconfigs
limit languages:
android { defaultconfig { // other configuration here resconfigs "en" } }
Comments
Post a Comment