Genymotion模拟器安装ARM架构编译应用失败解决方案

  我们在安装一些应用到Genymotion模拟器会提示:adb: failed to install xx.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res=-113]

  原因是Genymotion采用的编译方式是x86,默认不支持ARM架构编译的应用,所以无法安装,解决方案如下:

  首先下载Genymotion-ARM-Translation.zip,注意不同的安卓版本对应不同的ARM-Translation,可以到官网下载,也可以通过百度网盘下载,百度云盘中的支持的安卓版本为8.0

1.windows系统

  下载后可以手动拖拽压缩包到模拟器中,根据模拟器提示点击OK按钮即可进行安装,成功后重启模拟器即可。如果操作失败也可以使用Mac、Linux系统操作方法

2.Mac、Linux系统

  下载后先将应用push到手机的sdcard/Download文件夹下,进入压缩包下载后的文件夹,使用命令:adb push ARM_Translation_Oreo_8.0.zip  /sdcard/Download,此时会提示上传进度:ARM_Translation_Oreo_8.0.zip: 1...d. 16.5 MB/s (9390250 bytes in 0.543s)

  完成后进入到手机push文件的目录下:adb shell ->cd sdcard/Download

  手动运行flash-archive.sh脚本:sh /system/bin/flash-archive.sh /sdcard/Download/ARM_Translation_Oreo_8.0.zip ,提示信息如下,

Archive:  /sdcard/Download/ARM_Translation_Oreo_8.0.zipcreating: META-INF/com/creating: META-INF/com/google/creating: META-INF/com/google/android/inflating: META-INF/com/google/android/update-binaryinflating: META-INF/com/google/android/updater-scriptcreating: system/creating: system/lib/creating: system/lib/arm/inflating: system/lib/arm/check.xmlinflating: system/lib/arm/cpuinfoinflating: system/lib/arm/cpuinfo.neoninflating: system/lib/arm/libandroid.soinflating: system/lib/arm/libandroidfw.soinflating: system/lib/arm/libandroid_runtime.soinflating: system/lib/arm/libaudioutils.soinflating: system/lib/arm/libbinder.soinflating: system/lib/arm/libc.soinflating: system/lib/arm/libcamera_client.soinflating: system/lib/arm/libcorkscrew.soinflating: system/lib/arm/libcrypto.soinflating: system/lib/arm/libcutils.soinflating: system/lib/arm/libc_orig.soinflating: system/lib/arm/libdl.soinflating: system/lib/arm/libdrmframework.soinflating: system/lib/arm/libdvm.soinflating: system/lib/arm/libEGL.soinflating: system/lib/arm/libemoji.soinflating: system/lib/arm/libETC1.soinflating: system/lib/arm/libexpat.soinflating: system/lib/arm/libfilterfw.soinflating: system/lib/arm/libfilterpack_imageproc.soinflating: system/lib/arm/libgabi++.soinflating: system/lib/arm/libgccdemangle.soinflating: system/lib/arm/libGLESv1_CM.soinflating: system/lib/arm/libGLESv2.soinflating: system/lib/arm/libgui.soinflating: system/lib/arm/libhardware.soinflating: system/lib/arm/libhardware_legacy.soinflating: system/lib/arm/libharfbuzz.soinflating: system/lib/arm/libhwui.soinflating: system/lib/arm/libicui18n.soinflating: system/lib/arm/libicuuc.soinflating: system/lib/arm/libjnigraphics.soinflating: system/lib/arm/libjpeg.soinflating: system/lib/arm/liblog.soinflating: system/lib/arm/libm.soinflating: system/lib/arm/libmedia.soinflating: system/lib/arm/libmedia_native.soinflating: system/lib/arm/libm_orig.soinflating: system/lib/arm/libnativehelper.soinflating: system/lib/arm/libnetutils.soinflating: system/lib/arm/libnfc_ndef.soinflating: system/lib/arm/libOpenMAXAL.soinflating: system/lib/arm/libOpenSLES.soinflating: system/lib/arm/libpatts_engine_jni_api.soinflating: system/lib/arm/libpixelflinger.soinflating: system/lib/arm/libskia.soinflating: system/lib/arm/libsonivox.soinflating: system/lib/arm/libspeexresampler.soinflating: system/lib/arm/libspeexwrapper.soinflating: system/lib/arm/libsqlite.soinflating: system/lib/arm/libssl.soinflating: system/lib/arm/libstagefright.soinflating: system/lib/arm/libstagefright_foundation.soinflating: system/lib/arm/libstdc++.soinflating: system/lib/arm/libstlport.soinflating: system/lib/arm/libsurfaceflinger.soinflating: system/lib/arm/libsync.soinflating: system/lib/arm/libui.soinflating: system/lib/arm/libusbhost.soinflating: system/lib/arm/libutils.soinflating: system/lib/arm/libvorbisidec.soinflating: system/lib/arm/libwpa_client.soinflating: system/lib/arm/libz.soinflating: system/lib/arm/linkerinflating: system/lib/libdvm_houdini.soinflating: system/lib/libhoudini.so
[flash_archive] Remount /system/ in rw
[flash_archive] Start file install
[ERROR][flash_archive] META-INF/com/google/android/update-binary is an ARM binary, using system updater
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libandroid.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libandroidfw.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libandroid_runtime.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libaudioutils.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libbinder.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libc.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libcamera_client.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libcorkscrew.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libcrypto.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libcutils.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libc_orig.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libdl.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libdrmframework.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libdvm.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libEGL.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libemoji.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libETC1.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libexpat.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libfilterfw.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libfilterpack_imageproc.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libgabi++.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libgccdemangle.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libGLESv1_CM.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libGLESv2.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libgui.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libhardware.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libhardware_legacy.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libharfbuzz.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libhwui.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libicui18n.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libicuuc.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libjnigraphics.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libjpeg.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/liblog.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libm.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libmedia.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libmedia_native.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libm_orig.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libnativehelper.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libnetutils.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libnfc_ndef.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libOpenMAXAL.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libOpenSLES.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libpatts_engine_jni_api.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libpixelflinger.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libskia.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libsonivox.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libspeexresampler.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libspeexwrapper.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libsqlite.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libssl.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libstagefright.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libstagefright_foundation.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libstdc++.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libstlport.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libsurfaceflinger.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libsync.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libui.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libusbhost.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libutils.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libvorbisidec.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libwpa_client.so lib (x86 version exists)
[sanitize_zipfile_and_execute_update_binary] Skipping system/lib/arm/libz.so lib (x86 version exists)adding: META-INF/ (stored 0%)adding: META-INF/com/ (stored 0%)adding: META-INF/com/google/ (stored 0%)adding: META-INF/com/google/android/ (stored 0%)adding: META-INF/com/google/android/update-binary (deflated 35%)adding: META-INF/com/google/android/updater-script (deflated 35%)adding: system/ (stored 0%)adding: system/lib/ (stored 0%)adding: system/lib/arm/ (stored 0%)adding: system/lib/arm/check.xml (deflated 41%)adding: system/lib/arm/cpuinfo (deflated 32%)adding: system/lib/arm/cpuinfo.neon (deflated 32%)adding: system/lib/arm/linker (deflated 49%)adding: system/lib/libdvm_houdini.so (deflated 69%)adding: system/lib/libhoudini.so (deflated 69%)
chmod: updater: No such file or directory
[flash_archive] Remount /system/ in ro
[flash_archive] Delete tmp directory
[flash_archive] Done successfully !
{Result:OK};

  {Result:OK}表示安装成功,完成后需要重启模拟器,重启后再次安装ARM架构编译的应用则可以正常安装

  

 

 

 

转载于:https://www.cnblogs.com/zhiaijingming/p/10854678.html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/364610.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

CentOS7.5 yum 安装与配置MySQL5.7.24

安装环境:CentOS7 64位 MINI版,安装MySQL5.7 1、配置YUM源 在MySQL官网中下载YUM源rpm安装包:https://dev.mysql.com/downloads/repo/yum/ 下面已经提供一个YUM源安装包,如果不需要特定版本可直接使用我提供的5.7.24版本 # 下载mysql源安装包…

5种改善服务器日志记录的技术

在最近的时间里,我们已经看到了许多工具可以帮助您理解日志。 诸如Scribe和LogStash之类的开源项目,诸如Splunk之类的本地工具以及诸如SumoLogic和PaperTrail之类的托管服务。 这些都可以帮助您将大量日志数据减少为更有意义的内容。 它们共有一个共同点…

java excel处理框架,Java三方—-excel框架之POI的使用一

Apache POI是Apache软件基金会的开放源码函式库,POI提供API给Java程序对Microsoft Office格式档案读和写的功能。pdf框架之IText的使用,参见我的博客:Java三方—->pdf框架之IText的使用。今天我们开始POI中Excel部分的学习。POI框架的简单…

关于background-*的一些属性

1、盒模型 盒模型从外到内一次为:margin-box、border-box、padding-box、content-box。 2、一些属性设置的相对位置 ⑴background-position的属性值(top/right/bottom/left/center)起始位置是相对于padding-box外边沿开始的,…

Outlook邮件的右键菜单中添加自定义按钮

customUI代码如下&#xff1a; <customUI xmlns"http://schemas.microsoft.com/office/2009/07/customui"><contextMenus><contextMenu idMso"ContextMenuMailItem"> <button id"button1" label"修改件名"…

vue 项目的I18n国际化之路

I18n (internationalization ) ---未完善 产品国际化是产品后期维护及推广中重要的一环&#xff0c;通过国际化操作使得产品能更好适应不同语言和地区的需求 国际化重点&#xff1a;1、 语言语言本地化2、 文化颜色、习俗等3、 书写习惯日期格式、时区、数字格式、书写方向备…

使用IAM保护您的AWS基础架构

在开发新产品并发现合适的产品市场时&#xff0c;每个团队都需要快速行动。 尤其是初创公司&#xff0c;因为公司的整个未来都取决于快速找到为您的产品付款的人。 对于初创企业和其他团队来说&#xff0c; Amazon Web Services是令人难以置信的工具&#xff0c;可以快速构建其…

mysql文件软连接失败,解决打包软链接打包失败问题

一般情况下打包文件时&#xff0c;如果直接打包软连接会导致打包失败&#xff0c;即没有将要打包的内容打包进去&#xff0c;这里提供tar打包参数-h[rootlocalhost ~]# ll /etc/rc.locallrwxrwxrwx. 1 root root 13 Nov 24 00:45 /etc/rc.local -> rc.d/rc.local[rootlocalh…

快速掌握前端 专为Java程序员定制

Javascript 例子 修改页面内容 js 代码位置 <script>// js 代码 </script>引入 js 脚本 <script src"js脚本路径"></script>注意&#xff0c;到了框架之后&#xff0c;引入方式会有不同 1. 变量与数据类型 声明变量 1) let ⭐️ l…

Solidity中如何判断mapping中某个键是否为空呢?

Solidity中如何判断mapping中某个键是否为空呢&#xff1f; 一.比较标准的做法是建立一个专门和value相关的结构体&#xff0c;用一个布尔型变量来看是否这个key所对应的value被赋过值 代码如下&#xff1a; pragma solidity ^0.4.19;contract UserTest {struct User{string na…

mac安装了多版本php 卸载,mac 安装多版本PHP

前言相信大家在mac 安装PHP多版本的时候也遇到了很多坑# brew install php56# brew install php70这样安装的话肯定会报错的&#xff0c;因为brew存在软连接这个时候我们第一步&#xff1a;brew unlink php56 或者 brew unlink php70这个步骤是关闭掉PHP的软连接第二步&#x…

jQuery的on绑定click和直接绑定click区别

状况之外 在之前的公司并没有遇到这个问题&#xff0c;也就没有深究。直到自己换了现在的公司&#xff0c;刚来第二天就开始写别人写到一半的项目&#xff0c;很无奈&#xff0c;不是原生就是jquery&#xff0c;由于项目急&#xff0c;已经来不及切换框架重新布局&#xff0c;只…

Thymeleaf与Spring集成(第1部分)

1.引言 本文重点介绍如何将Thymeleaf与Spring框架集成。 这将使我们的MVC Web应用程序能够利用Thymeleaf HTML5模板引擎&#xff0c;而不会丢失任何Spring功能。 数据层使用Spring Data与mongoDB数据库进行交互。 该示例包含在酒店的单页Web应用程序中&#xff0c;从中我们可以…

oracle 老白,老白学编程 - Netdata学习 - numa

Numa 介绍NUMA,即Non-Uniform Memory Access Architecture&#xff0c;非统一内存访问架构。背景传统的SMP中&#xff0c; 所有处理器共享系统总线&#xff0c;当cpu数目增大时&#xff0c; 系统总现竞争就相应增加&#xff0c;会成为系统的瓶颈&#xff0c;所以SMP系统的CPU数…

如何安装 Angular CLI 并且检查 CLI 的版本

想在系统中安装 Angular CLI &#xff0c;如何进行安装并且如何检查 CLI 的版本&#xff1f; 可以使用命令&#xff1a; npm install -g angular/cli 进行安装。 使用命令 ng version 来查看 Angular 的 CLI 的版本 转载于:https://www.cnblogs.com/huyuchengus/p/10879166.htm…

2018-2019-2 网络对抗技术 20165329 Exp 8 Web基础

2018-2019-2 网络对抗技术 20165329 Exp 8 Web基础 原理与实践说明 实践内容概述基础问题回答实践过程记录 1.Web前端&#xff1a;HTML2.Web前端&#xff1a;javascipt3.Web后端&#xff1a;MySQL基础4.Web后端&#xff1a;编写PHP网页5.最简单的SQL注入&#xff0c;XSS攻击测试…

为JVM分配内存:一个案例研究

这篇文章是关于最近的性能调整练习的。 与往常一样&#xff0c;这些开始于关于症状的模糊表述。 这次&#xff0c;魔鬼采取了“应用程序速度慢&#xff0c;我们无法访问源代码的形式。 我们有什么改善情况的选择”。 对该应用程序进行仔细研究后发现&#xff0c;它由捆绑在一起…

Thymeleaf与Spring集成(第2部分)

1.简介 这是Thymeleaf与Spring教程集成的第二部分。 您可以在此处阅读第一部分&#xff0c;在那里您将学习如何配置该项目。 如本教程第一部分开头所述&#xff0c;Web应用程序将发送两种类型的请求&#xff1a; 插入新访客&#xff1a;将同步请求发送到服务器以添加新访客。…

我们正在破解JDBC,因此您不必

我们喜欢使用JDBC 没人说。 曾经 更严重的是&#xff0c;如果考虑一下&#xff0c;JDBC实际上是一个非常出色的API。 这也可能是Java成为当今流行平台的原因之一 。 在JDK 1.1 之前 &#xff0c; 以及在ODBC之前 &#xff08;这已经很久了&#xff09;&#xff0c;很难想象有任…

python之requests

转载:https://www.cnblogs.com/zhangxinqi/p/9201594.html 阅读目录 1、requests简介2、requests的安装3、requests请求4、请求响应5、requests异常处理6、cookies7、请求会话(Session)8、SSL证书验证9、代理设置10、身份认证11、编码12、其他说明1、requests简介 requests是通…