问题描述
我试图按照并保持收到此错误,每当我尝试安装应用到(的Nexus 6)仿真器。这是[INSTALL_FAILED_NO_MATCHING_ABIS。我使用的是相同的code作为在教程中,我发现了一些有关的编译与ARM英特尔但我不知道这意味着什么/如何使用这些信息。
谢谢!
I'm trying to follow the tutorial for using the Spotify Beta SDK and keep getting this error whenever I try to install the app onto the (Nexus 6) emulator. It's [INSTALL_FAILED_NO_MATCHING_ABIS]. I'm using the same code as in in tutorial, I found something about compiling for ARM vs. Intel but am not sure what it means/how to use that information.Thanks!
推荐答案
Spotify的SDK包括只有ARM架构和ARM架构的机库。
Spotify SDK includes native library for ARM architecture and ARM architecture only.
由于INSTALL_FAILED_NO_MATCHING_ABIS由APK正在由APK安装的不支持(即APK不包括设备的CPU架构的原生库)设备造成的,我的猜测是,你正试图在x86模拟器运行,其中Spotify的SDK不支持。
Since INSTALL_FAILED_NO_MATCHING_ABIS is caused by the device the APK being installed not supported by the APK (i.e. the APK doesn't include native library for the device's CPU architecture), my guess is that you are trying to run it on an x86 emulator, which Spotify SDK doesn't support.
尝试创建一个ARM仿真器,它应该工作。
Try creating an ARM emulator and it should work.
编辑::要创建ARM仿真器配置做到以下几点:
To create an emulator configuration for ARM do the following:
- 单击AVD管理器 - >创建虚拟设备
- 选择的Nexus 6 - >下一步
- 选择一个用的 armeabi-V7A 的ABI象下面这样:
- Click "AVD Manager" -> "Create Virtual Device"
- Select "Nexus 6" -> "Next"
- Select one with armeabi-v7a ABI like below:
这篇关于错误安装Android应用程序与Spotify的SDK,[INSTALL_FAILED_NO_MATCHING_ABIS]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!