错误的原因是什么?“设备支持x86,但APK仅支持armeabi-v7a". [英] What is the reason for the error "Device supports x86, but APK only supports armeabi-v7a"
本文介绍了错误的原因是什么?“设备支持x86,但APK仅支持armeabi-v7a".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在通过从GitHub测试一些项目来使用Android Studio,当我尝试模拟apk时,它不允许我选择模拟器.
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.
它告诉我:
设备支持x86,但APK仅支持armeabi-v7a
Device supports x86, but APK only supports armeabi-v7a
为什么要这样做?
推荐答案
我遇到了同样的问题,我从 module:app 中检出了 build.gradle .事实证明,有一个这样的配置:
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.
我正在尝试处理React Native Android项目.
这篇关于错误的原因是什么?“设备支持x86,但APK仅支持armeabi-v7a".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文