From 1097fbe7a7ae0b9be3d545dcceed4ea6392056c7 Mon Sep 17 00:00:00 2001 From: cyan Date: Wed, 2 Jul 2025 01:45:22 +0200 Subject: [PATCH] fix: set `useLegacyPackaging = true` so `libtor.so` gets extracted (#2346) This is a temporary workaround. Proper fix will involve not using `libtor.so` as an executable and using it as static library. That fix will most likely occur when we will bring support for iOS. --- android/app/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index f27421aae..29ae280f6 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -38,6 +38,12 @@ android { compileSdkVersion 35 buildToolsVersion "35.0.0" + packagingOptions { + jniLibs { + useLegacyPackaging = true + } + } + lintOptions { disable 'InvalidPackage' }