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.

cyan committed Jul 2, 2025 at 01:45 UTC 1097fbe7a7ae0b9be3d545dcceed4ea6392056c7
1 file changed +6
android/app/build.gradle
+6
@@ -38,6 +38,12 @@ android {
38 compileSdkVersion 35
39 buildToolsVersion "35.0.0"
40
41 + packagingOptions {
42 + jniLibs {
43 + useLegacyPackaging = true
44 + }
45 + }
46 +
47 lintOptions {
48 disable 'InvalidPackage'
49 }