From 0e7b0677017cd9afd3ee79e3ce8ffe6d9f57f040 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Sun, 11 May 2025 21:02:44 +0200 Subject: [PATCH] [Android] Store native libraries uncompressed in APK --- platform/android/export/export_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index 490b5c14a2d..9b2329dab61 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -791,7 +791,7 @@ Error EditorExportPlatformAndroid::save_apk_so(void *p_userdata, const SharedObj String abi = abis[abi_index].abi; String dst_path = String("lib").path_join(abi).path_join(p_so.path.get_file()); Vector array = FileAccess::get_file_as_bytes(p_so.path); - Error store_err = store_in_apk(ed, dst_path, array); + Error store_err = store_in_apk(ed, dst_path, array, Z_NO_COMPRESSION); ERR_FAIL_COND_V_MSG(store_err, store_err, "Cannot store in apk file '" + dst_path + "'."); } }