Build Android Release with Android App Bundles (Issue-3381)

#1

Does Defold have any plan to reduce the build size of the Android Release with the Android App Bundle in the later version?

https://developer.android.com/topic/performance/reduce-apk-size

1 Like

#2

I get the same message.

1 Like

#3

We have some plans yes, but nothing in our upcoming sprints (…yet. It might change soon)

Note that your gain is fairly small, the engine is ~3.5mb uncompressed for each Android architecture (armv7, armv8a).Compressed, one such engine is ~1.6mb.

As always, we are dedicated to keeping the builds as small and fast as possible, so the .aab feature is definitely something we’ll look into.

One such “build size” feature we have in the sprint is to start using ProGuard, to minimize the bundle size (we’re seeing a 5mb decrease in the .dex file)

3 Likes

#4

Also it possible to upload two different apk with different architecture as the one release: Multiple APK

2 Likes

#5

You know why I get this message? I didn’t receive this message for previous versions. Currently my project is in closed alpha version. Thanks!

0 Likes

#6

Google tried to motivate (or even force) use of their new feature because most applications are too big, we don’t have such a problem with Defold.
You shouldn’t have any problems with the release because of this warning.

4 Likes

#7

We will look into the AAB format, but can’t make any promises yet. As @Mathias_Westerdahl points out the gain will be very small. The biggest advantage of AAB for large Defold games would be that it raises the allowed download size over 4G from 100Mb to 150Mb.

3 Likes

#8

I have faced this issue too and i cant rollout app,please provide a solution ASAP.

0 Likes

#9

It is just a warning. I never heard that it will prevent roll out of an internal test. Can you please verify that it is the same problem?

2 Likes

#10

Yes. we faced same problem when publishing flutter app and after submitting .aab file the issue resolved.

This is the detailed warning,
image%20(1)

0 Likes

#11

Can you please verify that you have completed the store listing and any other sections with a greyed out checkmark?

0 Likes

#12

@uditha did it work?

1 Like

#13

After configuring all the store listing and any other sections it works. but kindly provide a solution for this problem(Export project to .aab file).

@britzl thanks for quick reply and guide

0 Likes

#14

We plan to add AAB support this year but it will take several months before it is ready. We are not working on it yet. First step is to update to a newer app signing version. Then we can start looking into AAB support.

4 Likes