Skip to content

Commit cc07dc4

Browse files
committed
Merge pull request #106288 from raulsntos/android/store_so_uncompressed
[Android] Store native libraries uncompressed in APK
2 parents c4c28f8 + 6464347 commit cc07dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/android/export/export_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ Error EditorExportPlatformAndroid::save_apk_so(void *p_userdata, const SharedObj
785785
String abi = abis[abi_index].abi;
786786
String dst_path = String("lib").path_join(abi).path_join(p_so.path.get_file());
787787
Vector<uint8_t> array = FileAccess::get_file_as_bytes(p_so.path);
788-
Error store_err = store_in_apk(ed, dst_path, array);
788+
Error store_err = store_in_apk(ed, dst_path, array, Z_NO_COMPRESSION);
789789
ERR_FAIL_COND_V_MSG(store_err, store_err, "Cannot store in apk file '" + dst_path + "'.");
790790
}
791791
}

0 commit comments

Comments
 (0)