mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(build-logic): do not set ABI filters to projects with ABI split APKs
This commit is contained in:
+7
-5
@@ -47,11 +47,6 @@ fun Project.configureAndroidModule(
|
||||
multiDexEnabled = true
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
ndk {
|
||||
abiFilters.clear()
|
||||
abiFilters += arrayOf("armeabi-v7a", "arm64-v8a")
|
||||
}
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
@@ -74,6 +69,13 @@ fun Project.configureAndroidModule(
|
||||
"\"${name}\"")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
defaultConfig {
|
||||
ndk {
|
||||
abiFilters.clear()
|
||||
abiFilters += arrayOf("armeabi-v7a", "arm64-v8a")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// configure split APKs for ':app' module only
|
||||
|
||||
Reference in New Issue
Block a user