What is AAB file type, and why is so big ?

Good Day Everyone,

I have just compiled my very simple program with one button (no images no other files just one button), and downloaded AAB file.

(used command expo build:android -t app-bundle)

It turned out that size of this file is 47MB !!, why is that big, and why it is not a APK file ?

and last question, What exactly aab file is ?

Regards,

Here is the Google documentation on AABs:

https://developer.android.com/guide/app-bundle

Google Play’s new app serving model, called Dynamic Delivery , then uses your app bundle to generate and serve optimized APKs for each user’s device configuration, so they download only the code and resources they need to run your app. You no longer have to build, sign, and manage multiple APKs to support different devices, and users get smaller, more optimized downloads.

So as far as I understand it, the AAB might be larger, but when the phone installs the app, Google Play will generate the APK for that specific device, which will be smaller.

My ABB file is 30MB.

When I installed my app via Google Play, the file size is only 10MB on my phone.

Thanks for answer :wink:

1 Like