天天看点

Failure [INSTALL_FAILED_NO_MATCHING_ABIS]

这个问题出现在模拟器上的概率更大些,原因是某些应用使用了原生库(NDK,Native Lib),这些库的编译目标通常是arm 架构 的cpu,在x86上运行就会报这样的错误。 比如我看了一下报错的应用,果然有很多so在lib下。

$ ls lib/armeabi/libapp_BaiduMapApplib_v2_1_1.so liblocSDK3.so libvi_voslib.so libyc.so
           

一个简单的解决办法就是换一个arm架构的模拟器。

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

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.

继续阅读