From 0e307bc4a7ccaafc1ca2d623f9428d6a4abcfad5 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 8 Apr 2023 19:13:31 +0000 Subject: [PATCH] Set ndkVersion in build.gradle --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 55fdeb0bd..2541f98d1 100644 --- a/build.gradle +++ b/build.gradle @@ -86,6 +86,14 @@ android { namespace "org.thoughtcrime.securesms" flavorDimensions "none" compileSdkVersion 32 + + // Set NDK version to strip native libraries. + // Even though we compile our libraries outside Gradle with `scripts/ndk-make.sh`, + // without ndkVersion `./gradlew clean` followed by `./gradlew assembleDebug --warning-mode=all` emits the following warning: + // > Task :stripFatDebugDebugSymbols + // Unable to strip the following libraries, packaging them as they are: libanimation-decoder-gif.so, libmapbox-gl.so, libnative-utils.so. + // See for details. + ndkVersion "23.2.8568313" useLibrary 'org.apache.http.legacy' defaultConfig {