From dd8d248bd69f0334ff79f7553420e9f991864d64 Mon Sep 17 00:00:00 2001 From: Alexey Krasilnikov Date: Thu, 16 Jan 2025 21:20:13 +0700 Subject: [PATCH] Disable .so libraries compression in the apk This change affects only APK distributions. In App Bundle distribution format which is used by Google Play Store native libraries are not compressed already. Signed-off-by: Alexey Krasilnikov --- android/app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index e710eb6550..8df067bf7d 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -360,6 +360,12 @@ android { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } + + packagingOptions { + jniLibs { + useLegacyPackaging = false + } + } } dependencies { -- 2.45.3