diff --git a/src/frontends/android/app/build.gradle b/src/frontends/android/app/build.gradle index a12a2d377..a073d0216 100644 --- a/src/frontends/android/app/build.gradle +++ b/src/frontends/android/app/build.gradle @@ -31,6 +31,15 @@ def keystoreKeyPassword = envOr('KEY_PASSWORD', '') android { namespace = 'org.strongswan.android' + /* minSdk 23 flipped AGP's default to uncompressed .so (extractNativeLibs=false): + * the APK grew 12 -> 23 MB. Updates are downloaded over cellular, so keep + * the libraries compressed as before. */ + packaging { + jniLibs { + useLegacyPackaging = true + } + } + defaultConfig { applicationId "one.shx.strongswan.ext" compileSdk = 36