这个错误提示的解决办法。
是由于使用了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.
现在安卓模拟器的CPU/ABI一般有三种类型,INTEL X86,ARM,MIPS,
如果选择用INTEL X86 CPU的虚拟机出现INSTALL_FAILED_NO_MATCHING_ABIS的错误,那就改用ARM的
解决办法: 1、更换ARM的虚拟机(在ADT中下载) 2、换真机调试
参考:http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk
本文介绍了解决Android应用安装时遇到的INSTALL_FAILED_NO_MATCHING_ABIS错误的方法。此错误通常发生在应用程序包含的本地库不支持目标设备的CPU架构时。文章提供了两种解决方案:更换与目标设备兼容的虚拟机或使用真实设备进行调试。
374

被折叠的 条评论
为什么被折叠?



