<div dir="ltr"><div>Dear Folks</div><div><br></div><div>I need some help. I am building an app and trying to publish it on play store. I am getting warnings as</div><div><br></div><div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////</div><div><br></div><div><div class="gmail-A1JAINC-fp-b" tabindex="0"> <div class="gmail-A1JAINC-hc-n">Unoptimised APK</div> <div><p class="gmail-A1JAINC-hc-m">Warning:</p><p class="gmail-A1JAINC-hc-l">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.</p><p class="gmail-A1JAINC-hc-m">Resolution:</p><p class="gmail-A1JAINC-hc-l">Use the <a href="https://g.co/androidappbundle" target="_blank">Android App Bundle</a> to automatically optimise for device configurations, or manage it yourself with multiple APKs.</p></div> </div></div><div><br></div><div>//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////<br></div><div><br></div><div><br></div><div>I searched a bit on net, and found to build with app bundle, as the code snippet below for build.gradle.</div><div><br></div><div>// Add this block and enable/disable the parameters as follows<br>    bundle {<br>        density {<br>            // Different APKs are generated for devices with different screen densities; true by default.<br>            enableSplit true<br>        }<br>        abi {<br>            // Different APKs are generated for devices with different CPU architectures; true by default.<br>            enableSplit true<br>        }<br>        language {<br>            // This is disabled so that the App Bundle does NOT split the APK for each language.<br>            // We're gonna use the same APK for all languages.<br>            enableSplit false<br>        }<br>    }</div><div><br></div><div>But it is throwing errors as it is not getting bundle I guess and it's format.</div><div><br></div><div>How can I solve it. Any suggestions is highly appreciated.<br></div><div><br></div><div><br></div><div><br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best Regards<br>Sujan<br></div></div></div></div></div></div></div>