Skip to content

Commit

Permalink
fix(build/native): ndk version
Browse files Browse the repository at this point in the history
use ANDROID_NDK_HOME ndk version if already installed
  • Loading branch information
rhunk committed Nov 8, 2024
1 parent 5836c2e commit 3c8ad6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c8ad6a

Please sign in to comment.