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)
    原文作者:一个会写诗的程序员
    原文地址: https://www.jianshu.com/p/577ea67e987a
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞