在Android模擬器上安裝apk的時候出現架構
INSTALL_FAILED_NO_MATCHING_ABISapp
這個錯誤提示的解決辦法。spa
是因爲使用了native libraries 。該native libraries 不支持當前的cpu的體系結構。.net
INSTALL_FAILED_NO_MATCHING_ABIS is when you are trying to install an app that has native libraries and it doesn't have a native library for your cpu architecture. For example if you compiled an app for armv7 and are trying to install it on an emulator that uses the Intel architecture instead it will not work.blog
解決辦法:當前是寫x86架構的模擬器,建立arm架構的模擬器,便能正常運行了get
參考:http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apkit
若是是使用Genymotion出現上面的提示,請參考如下連接:io