I am playing around with Android Studio by testing some projects out from GitHub and when I try to emulate the apk, it does not let me choose an emulator.
It tells me:
Device supports x86, but APK only supports armeabi-v7a
Why does it do this?
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.
Turn off USB debugging and turn it back on the hardware device.
In Android Studio, select the Build menu,
then click Select Build Variant... and in 'Build Variants' window select x86Debug(or release)
PS: Im using Android Studio 2.3 on Mac
On Linux: File > Invalidate Cache / Restart On phone: Instead Charge this device change to Transfer photos (PTP)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With