Android Export - "Unoptimized APK"?

Hi,

We are getting below warning when upload APK to Google Play?:
Will this issue be fixed soon?

Jesse

Unoptimized APK

Warning:

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 optimizing 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 install success rates and take up storage on users’ devices.

Resolution:

Use the Android App Bundle to automatically optimize for device configurations, or manage it yourself with multiple APKs.

1 Like

It’s safe to ignore. App bundles are not supported by Defold (yet?).

Correct. We have it on our roadmap but haven’t given it priority yet. The warning is a bit misleading. You wouldn’t gain that much size wise for a Defold game anyway.

4 Likes

But it cannot be ignored, for me it is not possible to proceed.

Have you completed all the other sections in the dev console?

3 Likes

Hello there,

do you try to upload an apk? If so, this might be your problem. You need to use the format “aab” when bundling (required for new apps since August 2021 - see here: About Android App Bundles  |  Android Developers)