I compiled cocos2dx project for android in cocos creator, but after compiling I found out that weight of dynamic libraries is too heavy.
For arm64-v8a size of libcocos2djs.so - 19 MB.
For armeabi-v7a size of libcocos2djs.so - 12 MB.
Do you know why? For example in libGDX game framework(Core + Box2d), weight of dynamic libraries for arm64-v8a - 0.6 MB. Is it possible to remove unused components, or reduce size with another methods?
if I recall correctly, when building in release mode unused components would be automatically removed. old versions had some issues with auto removing some of the components. they may have been addressed on new versions.
if you want to be safe you can manually disable the components you don't want from ccconfig.h
for example, if you are not using 3d physiscs, find
#define CC_USE_3D_PHYSICS 1
within the ccconfig.h and change it to#define CC_USE_3D_PHYSICS 0