What is the reason for the error “Device supports x86, but APK only supports armeabi-v7a”

I had the same problem, I checkout the build.gradle from module:app. It turns out that there’s a such config:

    ndk {
        abiFilters "armeabi-v7a", "x86"
    }

when I commented all out, everything worked fine.

I was trying to deal with the React Native Android project.

Leave a Comment