错误信息: An error occured while deploying the file.This probably means that the app contians ARM native code and you Genymotion device cannot run ARM instructions.You should either build your native code to x86 or install an ARM translation tool in your device.
解决方式
首先,打开 genymotion,设置 adb:setting-> 将默认 genymotion 的 adb 改为 custom android sdk,路径指向本地 sdk 安装路径。如图:
打开模拟器之后,CMD 中依次执行:
① cd C:\Program Files\Genymobile\Genymotion\tools
② gapps-kk-20140105-signed.zip 密码: nbkc
- adb push C:\fastwork\Work\RfStudy\App\gapps-kk-20140105-signed.zip /sdcard/Download/
- adb shell flash-archive.sh /sdcard/download/gapps-kk-20140105-signed.zip
③ Genymotion-ARM-Translation.zip 密码: gjtp
- adb push C:\fastwork\Work\RfStudy\App\Genymotion-ARM-Translation.zip /sdcard/Download/
- adb shell flash-archive.sh /sdcard/download/Genymotion-ARM-Translation.zip
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于