解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
来源:互联网 发布:网络语666是什么意思 编辑:程序博客网 时间:2024/05/21 00:45
解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
在使用Genymotion模拟器调试App时出现Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract no extract native libraries 错误,如下图所示:
该错误描述信息不是代码的错误,也不是工具编译错误,而是因为系统CPU架构不匹配所导致。有时候我们在使用第三方SDK时,会发现第三方的SDK会需要我们拷贝一些不同的文件到指定的目录,如 'armeabi', 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a' 等。
网上有些该错误的解决方案是将模拟器的架构做更改,但我们这里用的是Genymotion模拟器,试着去修改时发现设置中没对应的选项,也查阅到相关资料说需要取下载对应的GenyMotion-ARM-Translation.zip库,觉得有点多余,然后在stackoverflow上找到相应的解决方案,在项目的app目录下将build.gradle打开,并在android{ } 节点下添加如下信息即可:
splits { abi { enable true reset() include 'x86', 'armeabi-v7a','x86_64' universalApk true } }
加上上面的配置后,编译成功运行。Genymotion模拟器版本:Custom Phone - 7.1.0
参考链接:https://stackoverflow.com/questions/24572052/install-failed-no-matching-abis-when-install-apk
转载请注明gao_chun的Blog:http://blog.csdn.net/gao_chun/article/details/78774615
阅读全文
0 0
- Android 解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
- 解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS.
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS.
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
- Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native librarie
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
- Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS: Faile
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS.安装失败,解决办法
- installation failed with message
- 解决Installation failed with message failed to establish session
- Installation failed with message INSTALL_FAILED_OLDER_SDK.
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Installation failed with message:INSTALL_CANCELED_BY_USER
- Retrofit2.0通俗易懂的学习姿势,Retrofit2.0 + OkHttp3 + Gson + RxJava
- POJ-2240 Arbitrage
- SQL更新多行数据为不同的值如何实现?
- hello world
- ORACLE 查看RMAN的备份信息总结
- 解决Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS
- Golang json解析
- SparkSql读取数据和插入数据
- 人工智能与前端技术不能说的秘密
- mysql_replace into
- jxl和poi操作Excel
- 深入Protobuf源码-概述、使用以及代码生成实现
- Centos7安装Mysql
- c#整型转字符型,不足位数的在前面补0