問題:
Android用Genymotion 調試的時候,若安裝軟件出現Failure [INSTALL_FAILED_NO_MATCHING_ABIS] 錯誤,並且始終安裝不上。
解答:
原因是因爲模擬器是在x86的處理器上運行,而手機一般都是RAM架構的,所以得把模擬器刷成ARM的纔行。
所需工具(百度網盤下載):
鏈接:https://pan.baidu.com/s/1OSW_XeYexMOe7sMZK4xfaQ
提取碼:sdcv
操作步驟:
1.修改Geymotion中的默認SDK目錄:打開Geymotion->setting->ADB->Use custom ANdroid SDK tools->選擇你SDK安裝的目錄
2.拉取下載的Genymotion-ARM-Translation_v1.zip到手機中
adb push d:/tools/Genymotion-ARM-Translation_v1.zip /sdcard/Download
d:/tools/Genymotion-ARM-Translation_v1.zip:改爲你該文件存放的路徑
/sdcard/Download:此爲拉取到手機中存放當的路徑
3:手動運行flash
adb shell flash-archive.sh /sdcard/download/Genymotion-ARM-Translation_v1.zip
重啓模擬器即可