Apk size grow a lot

I did a project using lua glider and corona labs.

My folder with all images and code, have 876kb size.

When i use corona labs to take the .APK , the size change to 5Mb!!!

How can i reduce it? 

Thanks

Pd: sorry for my english, is not very good.

You can’t.  There is a minimum size for the APK because it includes a number of standard libraries, etc.  Actually 5MB is great.  The old ‘smallest’ size was around 8Mb if I recall correctly.

Your measurement isn’t considering that you pay some amount of space for the compiled SDK and its resources.

It has gotten smaller than 8MB because Corona has been moving more and more libraries to ‘plugins’, which are only then included if you ask for them in build.settings.

but my folder have 100kb (no 800 sorry), and my apk 6Mb . Can i delete some libraries than dont use?

Mi app is an image moving araoun de screen. only that. I thinks it doesn,t need a lot of libraries jeje

I’ve always wondered why Corona has to include libraries that are obviously not used. What’s the point (besides making the life a tiny bit easier for themselves)?

Didn’t Corona recently move Facebook to a plugin? That seems to have saved my apps a few megabytes in APK size (at least the reduction in size seems correlated in time with that switch – maybe there were other changes too).

You have to weigh the benefits of using Corona over the size floor the SDK provides. It sounds like the size floor is 5MB nowadays. There’s nothing you can do about that.

@all,

I don’t want to start a flame war here, but I think some readers may be underestimating the challenges involved with maintaining a multi-platform, large-scale software project like the Corona SDK.  Cross-dependencies are no joke and can be extremely hard to validate.  

I completely understand wanting the smallest possible executable, but if one has to choose between the staff spending their limited time on:

  1. Minimizing the size of binaries.
  2. Adding and maintaining features.

I think we’d all vote for the latter.

thanks for everybody

You can’t.  There is a minimum size for the APK because it includes a number of standard libraries, etc.  Actually 5MB is great.  The old ‘smallest’ size was around 8Mb if I recall correctly.

Your measurement isn’t considering that you pay some amount of space for the compiled SDK and its resources.

It has gotten smaller than 8MB because Corona has been moving more and more libraries to ‘plugins’, which are only then included if you ask for them in build.settings.

but my folder have 100kb (no 800 sorry), and my apk 6Mb . Can i delete some libraries than dont use?

Mi app is an image moving araoun de screen. only that. I thinks it doesn,t need a lot of libraries jeje

I’ve always wondered why Corona has to include libraries that are obviously not used. What’s the point (besides making the life a tiny bit easier for themselves)?

Didn’t Corona recently move Facebook to a plugin? That seems to have saved my apps a few megabytes in APK size (at least the reduction in size seems correlated in time with that switch – maybe there were other changes too).

You have to weigh the benefits of using Corona over the size floor the SDK provides. It sounds like the size floor is 5MB nowadays. There’s nothing you can do about that.

@all,

I don’t want to start a flame war here, but I think some readers may be underestimating the challenges involved with maintaining a multi-platform, large-scale software project like the Corona SDK.  Cross-dependencies are no joke and can be extremely hard to validate.  

I completely understand wanting the smallest possible executable, but if one has to choose between the staff spending their limited time on:

  1. Minimizing the size of binaries.
  2. Adding and maintaining features.

I think we’d all vote for the latter.

thanks for everybody