[ANSWERED] APK file of 7MB whereas project folder is only 800KO heavy

Hello,

I know I’m asking an often-asked question but the answers I found didn’t suit my problem.

The fact is that my project folder is 800KO heavy (after all images compression, removing extra data etc…).

But when building it for Android, its size rises to 8MB (I acknowledge this isn’t too big but it’s still scheming)

I know that Corona adds some size while building but isn’t it too much for a tiny project as mine?

Thanks for reply and have a good day!

I think if you add Gamenetwork, Facebook, Email or other features, Corona needs to add more code to your app when compiling it

I don’t have anything of this, the only thing I changed in the build properties is to allow the system vibration.

I think 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.

What ingemar said is correct.  On the flip side of that, if you do use those features, the size doesn’t grow.

Yeah, I forgot to mention that.

The thing that takes up the most space in an app is the graphics- and audio files. Code is “almost” negligible.

Yes I knew, I just thought that I was using useless components.

Anyway, if I can’t reduce my project’s size this question is answered.

Thank you for your time!

I think if you add Gamenetwork, Facebook, Email or other features, Corona needs to add more code to your app when compiling it

I don’t have anything of this, the only thing I changed in the build properties is to allow the system vibration.

I think 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.

What ingemar said is correct.  On the flip side of that, if you do use those features, the size doesn’t grow.

Yeah, I forgot to mention that.

The thing that takes up the most space in an app is the graphics- and audio files. Code is “almost” negligible.

Yes I knew, I just thought that I was using useless components.

Anyway, if I can’t reduce my project’s size this question is answered.

Thank you for your time!