Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error installing Android app with Spotify SDK, [INSTALL_FAILED_NO_MATCHING_ABIS]

Tags:

android

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!

like image 357
aRk Avatar asked Dec 22 '14 04:12

aRk


1 Answers

Spotify SDK includes native library for ARM architecture and ARM architecture only.

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.

Try creating an ARM emulator and it should work.

Edit: To create an emulator configuration for ARM do the following:

  1. Click "AVD Manager" -> "Create Virtual Device"
  2. Select "Nexus 6" -> "Next"
  3. Select one with armeabi-v7a ABI like below:

enter image description here

like image 120
Kai Avatar answered Oct 19 '22 09:10

Kai