[Android-development] android app publish error for app bundle optimization
yellowlemontree0821 at gmail.com
Fri Jun 7 16:16:05 CEST 2019
I need some help. I am building an app and trying to publish it on play
store. I am getting warnings as
This APK results in unused code and resources being sent to users. Your app
could be smaller if you used the Android App Bundle. By not optimising your
app for device configurations, your app is larger to download and install
on users' devices than it needs to be. Larger apps see lower installation
success rates and take up storage on users' devices.
Use the Android App Bundle <https://g.co/androidappbundle> to automatically
optimise for device configurations, or manage it yourself with multiple
I searched a bit on net, and found to build with app bundle, as the code
snippet below for build.gradle.
// Add this block and enable/disable the parameters as follows
// Different APKs are generated for devices with different
screen densities; true by default.
// Different APKs are generated for devices with different CPU
architectures; true by default.
// This is disabled so that the App Bundle does NOT split the
APK for each language.
// We're gonna use the same APK for all languages.
But it is throwing errors as it is not getting bundle I guess and it's
How can I solve it. Any suggestions is highly appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Android-development