.apk file too large for few files in the game folder

Hello, folks. How are you doing?

I created a game test using no more than 15 images (5 images + its @2x and @4x equivalents) which sums 118kB. Within the code I use physics and widget library only. Nevertheless, the .apk file reaches 8.8MB.

Can someone explain what’s that?

Thanks. :slight_smile:

The minimum footprint of an APK is around 7MB.

Regardless of how little your app uses the feature set of Corona SDK, it still builds an APK with all standard libraries “linked in”. There is no dead code stripping.

 

This means that even a “Hello world!” app will be around 7MB.

 

Ah! Thanks, Ingemar. :slight_smile:

If you really want to reduce the apk size, you can unpack it, remove all these files that you don’t need and then repack it back.

… or go Enterprise  :wink:

The minimum footprint of an APK is around 7MB.

Regardless of how little your app uses the feature set of Corona SDK, it still builds an APK with all standard libraries “linked in”. There is no dead code stripping.

 

This means that even a “Hello world!” app will be around 7MB.

 

Ah! Thanks, Ingemar. :slight_smile:

If you really want to reduce the apk size, you can unpack it, remove all these files that you don’t need and then repack it back.

… or go Enterprise  :wink: