Cocos2djs.so size too big cocos creator

I know someone already asked this kind of question in cocos2dx, but it’s frustrated when it comes to Cocos creator tho.
I tried to build my app with armeabi-v72 and x86 and the size of the apk is 30mb. Even build it with only arm still made a quite big apk with 19mb.
My game is simple with little images and music. I noticed the size of the cocos2djs.so in both armeabi-v72 and x86 is intimidating huge. I already tried to turn off some unused packages in Module config but it didn’t seem to be effective.
Also I read somewhere that you could comment out some unused modules in appdelegate.cpp but I am afraid that it could make it worse.
Anyone have suffered from this please help. I would greatly appreciate any solutions.

The engine module configuration in Project Settings panel currently only works for web build.

We are working on modularization of C++ engine and it should be available v1.7.

3 Likes

Really looking forward to v1.7 :like:
Also right now are there any possible ways to reduce the size effectively?

The whole C++ engine is open source, you can definitely remove codes that you don’t need but it’s pretty tedious and I can’t describe the process in a few sentence.

1 Like

Thanks. I guess wait for v1.7 is the best option right now.