首页 > 代码库 > 【转】INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法

【转】INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法

在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.

 

 

解决办法:当前是写x86架构的模拟器,创建arm架构的模拟器,便能正常运行了


参考:http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk

 

如果是使用Genymotion出现上面的提示,请参考以下链接:

参考:http://blog.csdn.net/wjr2012/article/details/16359113

【转】INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法