解决 Eclipse 运行 app 报错: 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.

现在安卓模拟器的 CPU/ABI 一般有三种类型: INTEL X86, ARM, MIPS。

如果选择用 INTEL X86 出现 INSTALL_FAILED_NO_MATCHING_ABIS 的错误,那就改用 ARM 的。

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值