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)
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容