[Android-development] android app publish error for app bundle optimization

Sujan Dasmahapatra yellowlemontree0821 at gmail.com
Fri Jun 7 16:16:05 CEST 2019

Dear Folks

I need some help. I am building an app and trying to publish it on play
store. I am getting warnings as


Unoptimised APK


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
    bundle {
        density {
            // Different APKs are generated for devices with different
screen densities; true by default.
            enableSplit true
        abi {
            // Different APKs are generated for devices with different CPU
architectures; true by default.
            enableSplit true
        language {
            // 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.
            enableSplit false

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.

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20190607/e485f182/attachment.html>

More information about the Android-development mailing list