Skip to content

Commit 66500be

Browse files
committed
Remove current arch filter
1 parent 226c5d7 commit 66500be

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

app/build.gradle.kts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ android {
1919
useSupportLibrary = true
2020
}
2121

22-
ndk {
23-
abiFilters += listOf(getCurrentArchitecture())
24-
}
22+
// ndk {
23+
// abiFilters += listOf(getCurrentArchitecture())
24+
// }
2525
}
2626

2727
sourceSets {
@@ -80,11 +80,11 @@ dependencies {
8080
}
8181

8282
// Function to detect the current architecture
83-
fun getCurrentArchitecture(): String {
84-
val arch = System.getProperty("os.arch")
85-
return when {
86-
arch.contains("aarch64") || arch.contains("arm64") -> "arm64-v8a"
87-
arch.contains("x86_64") || arch.contains("amd64") -> "x86_64"
88-
else -> throw GradleException("Unsupported architecture: $arch")
89-
}
83+
// fun getCurrentArchitecture(): String {
84+
// val arch = System.getProperty("os.arch")
85+
// return when {
86+
// arch.contains("aarch64") || arch.contains("arm64") -> "arm64-v8a"
87+
// arch.contains("x86_64") || arch.contains("amd64") -> "x86_64"
88+
// else -> throw GradleException("Unsupported architecture: $arch")
89+
// }
9090
}

0 commit comments

Comments
 (0)