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=-11316:31 Session 'app': Error Installing APKs这个错误提示, 是由于使用了native libraries 。

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)
相关文章
|
Android开发
XAMRAIN的INSTALL_FAILED_NO_MATCHING_ABIS错误处理
错误提示是:INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-11 解决方法: 打开xamarin .
1548 0
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
问题提解决:ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host=‘files.pythonhos
|
Python
解决"easy_install command not found"问题记录
解决"easy_install command not found"问题记录
587 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
140 0
|
Ubuntu 网络安全 开发工具
Ubuntu E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 错误
Ubuntu E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? 错误
849 0
|
关系型数据库 MySQL
You can remove cached packages by executing ‘yum clean packages‘. Error: GPG check FAILED
我们在使用服务器时安装mysql遇到的问题,现将有效的解决方案列出来 原因是:GPG对于包的源key的验证没有通过
You can remove cached packages by executing ‘yum clean packages‘. Error: GPG check FAILED
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
|
Android开发
Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER 解决方案
Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER 解决方案