![](/img/trans.png)
[英]The APK won't run on the android emulator. (Unfortunately the app has stopped)
[英]Unable to install apk in android emulator. App contains ARM native code
我下載了一個apk並嘗試通過拖入genymotion模擬器來安裝它。 並得到了這個錯誤
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.
您需要在仿真設備上安裝 ARM 翻譯:
為您設備的 Android 版本下載正確的 ARM 翻譯存檔。 對於 Android 8,我使用了 ARM_Translation_Oreo.zip。 ( 下載鏈接)
將.zip 文件拖放到設備的解鎖屏幕,並在要求確認時單擊確定
現在您應該能夠安裝任何應用程序,即使它具有 ARM 代碼。 祝你好運!
在此處下載 zip 文件,將文件拖入 genymotion 並運行這些命令。 https://github.com/m9rco/Genymotion_ARM_Translation
adb shell
cd /sdcard/Download/
sh /system/bin/flash-archive.sh /sdcard/Download/Genymotion-ARM-Translation.zip
adb reboot
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.