Hi everyone , While I’m working on my game i found after generating a signed apk , after going to major steps to compress it and reduce it’s size , that after unzipping the Apk … it contains lib folder containing libcocos2d.so file that is way big on any smart phone … the apk is a compressed file and if you’re done compressing it , after it’s been installed the size is more than doubled ,
so how can we reduce the size of this file as much as we can ?
There is no way to reduce the so size after it’s installed and extracted to system.
Android system needs the full decompressed so file located in system for loading.
@Abulbisht did you use CPP, Lua or Javascript? If you use CPP, then i think the linker will remove codes that are not used. If you use script, then you should not link the binding codes that you don’t need.