diff --git a/native/build.gradle.kts b/native/build.gradle.kts index cdf3febcf..ecd2710e4 100644 --- a/native/build.gradle.kts +++ b/native/build.gradle.kts @@ -10,7 +10,7 @@ android { namespace = rootProject.ext["applicationId"].toString() + ".nativelib" compileSdk = 34 buildToolsVersion = "34.0.0" - ndkVersion = "27.1.12297006" + ndkVersion = System.getenv("ANDROID_NDK_HOME")?.trimEnd('/')?.substringAfterLast("/") ?: "27.1.12297006" buildFeatures { buildConfig = true