(转)使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE解决办法

refs:

https://blog.****.net/wjr2012/article/details/16359113

https://blog.****.net/yyongchao/article/details/72896907


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


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


对于Genymotion可以安装补丁解决

有需要的客官可以去官网下载GenyMotion-ARM-Translation。注意版本匹配。

https://pan.baidu.com/s/1dFxiVol

链接中的在v2.12.1可用。

安装:

将你的虚拟器运行起来,将下载好的zip包用鼠标拖到虚拟机窗口中,出现确认对跨框点OK就行。然后重启你的虚拟机。

或者:

(转)使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE解决办法