在Android模擬器上安裝apk的時候出現
INSTALL_FAILED_NO_MATCHING_ABIS
這個錯誤提示的解決辦法。
是由於使用了native libraries 。該native libraries 不支持當前的cpu的體系結構。
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.
現在安卓模擬器的CPU/ABI一般有三種類型,INTEL X86,ARM,MIPS,
如果選擇用INTEL X86出現INSTALL_FAILED_NO_MATCHING_ABIS的錯誤,那就改用ARM的
參考:http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk