前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法INSTALL_FAILED_NO_MATCHING_ABIS

INSTALL_FAILED_NO_MATCHING_ABIS 的解决办法INSTALL_FAILED_NO_MATCHING_ABIS

作者头像
一个会写诗的程序员
发布2018-08-20 10:05:41
1.6K0
发布2018-08-20 10:05:41
举报

INSTALL_FAILED_NO_MATCHING_ABIS

Android模拟器上安装apk的时候出现

``` 16:31 Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113 16:31 Session 'app': Error Installing APKs

代码语言:javascript
复制
这个错误提示, 是由于使用了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](http://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk)

如果是使用Genymotion出现上面的提示,

If you using Genymotion you need [Installing ARM Translation and GApps](http://forum.xda-developers.com/showthread.php?t=2528952)


INSTALL_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://blog.csdn.net/wjr2012/article/details/16359113](http://blog.csdn.net/wjr2012/article/details/16359113)
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2017.04.19 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • INSTALL_FAILED_NO_MATCHING_ABIS
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档