mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-04-29 22:24:35 +02:00
fix(build/native): ndk version
use ANDROID_NDK_HOME ndk version if already installed
This commit is contained in:
parent
5836c2e35d
commit
3c8ad6a016
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user