From cc3ab8046288ffc582a9933caee01bc5abf473e8 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Mon, 17 Jul 2023 21:09:30 +0200 Subject: [PATCH] Enable legacy packaging to preserve syncthing libs (fixes #1943) (#1945) --- app/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 281dcd94a..c31f32a56 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -70,6 +70,14 @@ android { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } + + // Otherwise libsyncthing.so doesn't appear where it should in installs + // based on app bundles, and thus nothing works. + packagingOptions { + jniLibs { + useLegacyPackaging = true + } + } } play {