I am using JNI code in my project with abiFilters
like below
apply plugin: \'com.android.application\'
android {
compileSdkVersion 28
defa
As the message says, those ABIs are no longer supported by the NDK. This is mentioned in the NDK r17 changelog:
Support for ARMv5 (armeabi), MIPS, and MIPS64 has been removed. Attempting to build any of these ABIs will result in an error.
As others have said, there are not a significant number of devices out there that benefit from targeting any of these ABIs.
remove 'armebi
' from abiFilters
in your build.gradle
file.
armebi is no longer supported by the NDK. A correct list could be:
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
armeabi are no longer supported by NDK. Remove armeabi from build gradle or replace with supported ABIs e.g 'x86'
The same issue using Android Studio 4.1.1 on Windows 10. Changing the version in build.gradle fixes e.g. from classpath "com.android.tools.build:gradle:4.1.1" to classpath "com.android.tools.build:gradle:4.0.0".