Jeff Beyond
05/19/2020, 3:51 PMandroid {
defaultConfig {
externalNativeBuild {
cmake {
abiFilters "arm64-v8a","armeabi-v7a"
}
}
}
externalNativeBuild {
cmake {
path 'CMakeLists.txt'
}
}
}
kotlin {
macosX64(){
}
linuxX64() {
}
}
I got an CONFIGURE FAILED error:
ABIs [armeabi] are not supported for platform. Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86_64].
My project structure is shown in the attached image, How can I solve it?Artyom Degtyarev [JB]
05/20/2020, 12:21 PMKris Wong
05/20/2020, 12:48 PMabiFilters
goes in defaultConfig.ndk
Kris Wong
05/20/2020, 12:49 PM/**
* Specifies the Application Binary Interfaces (ABI) that Gradle should build outputs for. The
* ABIs that Gradle packages into your APK are determined by {@link
* com.android.build.gradle.internal.dsl.NdkOptions#abiFilter
* android.defaultConfig.ndk.abiFilter}
Kris Wong
05/20/2020, 12:50 PMJeff Beyond
05/20/2020, 1:27 PMJeff Beyond
05/20/2020, 1:29 PMKris Wong
05/20/2020, 1:32 PMJeff Beyond
05/20/2020, 2:23 PMKris Wong
05/20/2020, 2:26 PM