How can I reduce the size of "libcocos.so" file on android platform?

Hi guys?

I’m trying to google instant game this time. So I’m trying to reduce the size of the game as much as possible.

The picture below is an analysis of our game apk file. As you can see, the libcocos.so file is eating up 15 megabytes.

Our project settings are like this, is there any way to reduce the capacity of this?

Do you use any of these checkboxes in your projects? Just like the 3d particle system, you can remove the checked and build to confirm that the functionality is working, these help to reduce the package size.

Oh, our game is a 2D game, but the particles are using 3D particles. There are many features that 3D can use much more than 2D. All the checked features are in use, but is it need 15MB of capacity to use this level of functionality?

I did the same option as you, only 12.6M, I used creator3.5.2.

I see. As you know, the Google Instant Game size limit is 15 megabytes.
If I use all the features, it would be almost impossible to release an instant game, right?

You can try putting the resources on a remote server, and pack the released version of the apk will reduce it.

Okay, I get it. I’ll take a look at the remote bundle. Thanks for the reply!