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.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容