INSTALL_FAILED_NO_MATCHING_ABIS

使用Android Studio 在Android Emulator上Run时出现以下提示,

Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

点击OK出现
Session ‘app’: Error Installing APK
在网上查了好多解决方法,最后发现是因为使用了native libraries 。该native libraries 不支持当前的cpu的体系结构。
NSTALL_FAILED_NO_MATCHING_ABIS means the architecture is not matched. If you are using a Android Studio on a Mac (which generally uses Apple’s ARM), then you need to set the Android Virtual Device CPU/ABI to ‘arm’ or ‘armeabi-v7a’. If however you are using a Android Studio on a PC (which generally uses Intel’s chip, then set to ‘x86’ or ‘x86_64’.
或者最快速的解决办法是在真机上运行程序。
参考
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、付费专栏及课程。

余额充值