Different sizes of libgodot_android.so in android_release.apk

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shinyclaw

Hi, I have build the android template on my machine. Everything works fine, but in the orginal template the libgodot_android.so has size 35 889 816 bytes and in my build it has 27 999 156 bytes? What may cause this difference? This is release/armeabi-v7a.

Maybe one’s for debugging and the other is for release?

Ertain | 2018-09-07 17:42

No, both files are compiled in release…

shinyclaw | 2018-09-09 09:51

:bust_in_silhouette: Reply From: Calinou

APK files are ZIP archives, which can contain compressed files. According to this question on Stack Overflow, several file types are automatically compressed when packed into an APK — this probably includes .so libraries, but I haven’t checked.

Thanks, but I’m asking about libgodot_android.so file that is inside the .apk archive…

shinyclaw | 2018-09-07 15:27