fix(build/native): ndk version

use ANDROID_NDK_HOME ndk version if already installed
This commit is contained in:
rhunk 2024-11-08 10:17:10 +01:00
parent 5836c2e35d
commit 3c8ad6a016

View File

@ -11,7 +11,7 @@ android {
compileSdk = 34
buildToolsVersion = "34.0.0"
ndkVersion = "27.1.12297006"
ndkVersion = System.getenv("ANDROID_NDK_HOME")?.trimEnd('/')?.substringAfterLast("/") ?: "27.1.12297006"
buildFeatures {
buildConfig = true