File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments