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

前端 未结 23 2342
悲哀的现实
悲哀的现实 2020-12-13 01:36

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 m

23条回答
  •  南方客
    南方客 (楼主)
    2020-12-13 01:57

    i see this

    If you’re using CMake for your builds, then check the file \proj.android\gradle.properties, and update the PROP_APP_ABI to include the builds for x86, or alternatively, you could just use the armeabi-v7a or arm64-v8a Android images.

    Example: PROP_APP_ABI=armeabi-v7a:arm64-v8a:x86

    If you’re not using cmake, then look in \proj.android\app\jni\Application.mk in case you need to change the ABI setting in there.

提交回复
热议问题