Upgrade ndk and enable riscv64 abi

This commit is contained in:
LoveSy 2024-04-18 10:25:34 +08:00
parent 62533694c5
commit 33504c455c
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -6,5 +6,5 @@ val androidTargetSdkVersion by extra(34)
val androidMinSdkVersion by extra(21)
val androidBuildToolsVersion by extra("34.0.0")
val androidCompileSdkVersion by extra(34)
val androidNdkVersion by extra("26.2.11394342")
val androidNdkVersion by extra("27.0.11718014-beta1")
val androidCmakeVersion by extra("3.28.0+")

View File

@ -88,6 +88,7 @@ cmaker {
when (it.name) {
"debug", "release" -> {
arguments += "-DANDROID_STL=c++_shared"
abiFilters("armeabi-v7a", "arm64-v8a", "x86", "x86_64", "riscv64")
}
"standalone" -> {
arguments += "-DANDROID_STL=none"