From 076dc3be98e56572ae19c23eb658d2938932eaba Mon Sep 17 00:00:00 2001 From: jacquarg Date: Fri, 21 Feb 2025 12:05:50 +0100 Subject: [PATCH] chore: Remove natives libs from release eOS apk, reduce size --- app/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 4e24ecb8..c0963573 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -108,6 +108,14 @@ android { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + + packaging { + jniLibs { + // Exclude .so libs from APK, as they are copied + // in the android.mk while building the /e/OS image. + excludes += "/lib/**/*" + } + } } } -- GitLab