commit 3c8ad6a016fe806055aa59b7fbd099c0276ef073 parent 5836c2e35d93efa189fe36e698ab46957767b423 Author: rhunk <101876869+rhunk@users.noreply.github.com> Date: Fri, 8 Nov 2024 10:17:10 +0100 fix(build/native): ndk version use ANDROID_NDK_HOME ndk version if already installed Diffstat:
M | native/build.gradle.kts | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/native/build.gradle.kts b/native/build.gradle.kts @@ -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