genymotion中app不能安装问题

本文解决了一个在Ubuntu系统中使用Genymotion模拟器安装应用时遇到的ARM指令错误问题。错误提示应用程序可能包含本地ARM代码,而Genymotion设备无法运行ARM指令。解决方案是下载并安装Genymotion-ARM-Translation-Libraries工具,通过adb shell命令使其生效。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

系统环境
ubuntu1.8

在安装app时弹出如下报错:

An error occured while deploying the file. This probably means that the app contains ARM native code and your Genymotion device cannot run ARM instructions. You should either build your native code to x86 or install an ARM translation tool in your device.
部署 文件 时出错
这可以意味着应用 程序包含本地ARM代码和你的genymotion设备无法运行ARM指令.你可以建立你的原生代码的x86或在你的设备上安装一个臂的翻译工具.

解决 方法 :

下载Genymotion-ARM-Translation-Librarities工具转换包.
下载后不要解压,直接拖进模拟器中 然后执行下面的命令,使文件生效

  1. adb shell
  2. cd /sdcard/Download/
  3. sh /system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation.zip

重启genymotion

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值