Absurd file size increase when my project is exported to .APK

Godot Version

Godot 4.5.1 Android

Question

My project folder is just 244 KB, however the .APK exported file is 114 MB! And even worse, the game itself is 205 MB!!!

Why does that happen??? And how I could optimize it???

That’s normal because Godot adds every 2D and 3D features in a simple apk.It’s like adding the AAA graphics features in a simple 2d game.

But luckily You can reduce it!

Here’s a guide:

It’s only about windows and web export but I believe you can do the same with Android!

I think you can compile the export template and reduce the apk size by over 100 MB!(after removing unwanted features)

2 Likes

Thanks for the explanation, but what I was trying to do is reduce the size of the export in my mobile phone (i don’t have a pc), but from what I researched, you can’t do that without a pc (because it needs a terminal), So yea the filesize will need to stay like that sadly :frowning:

(No, I don’t want to remove any CPU architecture)

Sooo…that’s gonna be hard : (
You have to find a pre-compiled export template or use replit maybe (will be pretty hard)

How you export your project to apk in the android?