Set ndkVersion in build.gradle

This commit is contained in:
link2xt
2023-04-08 19:13:31 +00:00
parent e657e348fd
commit 0e307bc4a7
+8
View File
@@ -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 <https://issuetracker.google.com/issues/237187538> for details.
ndkVersion "23.2.8568313"
useLibrary 'org.apache.http.legacy'
defaultConfig {