File size of apk file - over 17mb! Can I reduce this?

My android game is weighing in at approx 17mb so I wondered if it could be packaging unnecessary libraries such as openfeint etc?

I am sure I read that these libraries are only added if needed. What determines if openfeint is packaged - is it simply the addition of the following line of code?

1
local openfeint = require("openfeint")

What is the size of your project directory? Typically corona ads about 2 to 4 mb. You can take a look here to decompile your apk and remove libraries if you really think there are ones included you don't need:

http://www.base2solutions.com/walkabout/Corona%20Tips.html
(section 7)

Also this will compress the binary with better compression.

Thanks for the reply.

My project directory is 15.5 MB so with the additional 2-4 MB from Corona that would bring it up to at least 17 assuming no compression.

Just wanted to be sure it wasn't adding on the openfeint and physics libraries when these are not required.

I will have a look at the link you sent.

Thanks

Paul

views:1756 update:2011/10/8 15:12:54
corona forums © 2003-2011