INSTALL_FAILED_NO_MATCHING_ABIS 的解決辦法

INSTALL_FAILED_NO_MATCHING_ABIS

Android模擬器上安裝apk的時候出現

```
16:31 Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113
16:31 Session 'app': Error Installing APKs



這個錯誤提示, 是由于使用了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.

參考:[http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk](http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk)

如果是使用Genymotion出現上面的提示,

If you using Genymotion you need [Installing ARM Translation and GApps](http://forum.xda-developers.com/showthread.php?t=2528952)


INSTALL_FAILED_NO_MATCHING_ABIS means the architecture is not matched. If you are using a Android Studio on a Mac (which generally uses Apple's ARM), then you need to set the Android Virtual Device CPU/ABI to 'arm' or 'armeabi-v7a'. If however you are using a Android Studio on a PC (which generally uses Intel's chip, then set to 'x86' or 'x86_64'.


請參考以下鏈接:
參考:[http://blog.csdn.net/wjr2012/article/details/16359113](http://blog.csdn.net/wjr2012/article/details/16359113)
最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容