1
mirror of https://github.com/topjohnwu/Magisk synced 2024-11-13 20:54:12 +01:00

Fix native symbol strips

`ndkVersion` is also needed by app for striping native symbols.
Set it in `setupCommon` instead.
This commit is contained in:
LoveSy 2023-12-03 22:13:06 +08:00 committed by John Wu
parent 40cb031af5
commit d47e70cfaa
2 changed files with 1 additions and 1 deletions

View File

@ -72,6 +72,7 @@ fun Project.setupCommon() {
compileSdkVersion(34)
buildToolsVersion = "34.0.0"
ndkPath = "$sdkDirectory/ndk/magisk"
ndkVersion = "26.1.10909125"
defaultConfig {
minSdk = 23

View File

@ -6,7 +6,6 @@ setupCommon()
android {
namespace = "com.topjohnwu.magisk.native"
ndkVersion = "26.1.10909125"
externalNativeBuild {
ndkBuild {