Managing .apk file size

I was glad about having reached the build(for android) stage for my game app, unfortunately the generated apk file is quite large(7.8MB). The project file is 120kB ie 8 images(.png files the largest is a 50kB sprite sheet, the other 7 ranging between 2 and 10kB) and 8 code files(.lua files ie config, build,main, game, menu & gameover plus 2 modules ie score and mydata). The game Memory and Texture in the simulator are 315kB and 1.95 respectively

using winRAR to view the apk, I found that corona adds very large files to to the project’s apk.

Is there a way of reducing this apk’s size to about 2MB?

Thanks
Sedrack

you’re already about as small as you can get - the core of a “do nothing/no assets” corona android build is about 7M

you’d likely have to switch to java development to produce the kind of “tiny” app that you might be expecting – most of corona’s “bloat” comes from the native binaries.  (there’s also another nearly 1M of widget theme images that I wish you could exclude if not using the widget library)

Hi Dave,

I am not using the widget library. I’l delete the widget theme assets to downsize the apk. Are there any other files I can do without?

Thanks

This is why Corona isn’t really a viable resource when making business/reference/utility apps.  I recently ported one of my Corona business apps to another sdk and went from 7mb to 400kb.  User ratings improved.

you’re already about as small as you can get - the core of a “do nothing/no assets” corona android build is about 7M

you’d likely have to switch to java development to produce the kind of “tiny” app that you might be expecting – most of corona’s “bloat” comes from the native binaries.  (there’s also another nearly 1M of widget theme images that I wish you could exclude if not using the widget library)

Hi Dave,

I am not using the widget library. I’l delete the widget theme assets to downsize the apk. Are there any other files I can do without?

Thanks

This is why Corona isn’t really a viable resource when making business/reference/utility apps.  I recently ported one of my Corona business apps to another sdk and went from 7mb to 400kb.  User ratings improved.