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.

產生場景?

Mac上安裝Genymotion后,使用Genymotion安裝安卓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.的報錯

產生原因

Genymotion模擬器使用的是x86架構,在第三方市場上的應用有部分不采用x86這么一種架構,所以在編譯的時候不通過,報“APP not installed”,可以下載Genymotion提供的ARM轉換工具包,將應用市場中的ARM架構的apk轉換成Genymotion可以編譯的x86架構;

解決方案

下載Genymotion-ARM-Translation-Librarities工具轉換包;下載路徑:https://pan.baidu.com/s/1kUAftyR?。將下載好的工具包直接拖拽到Genymotion中,然后提示重啟模擬器;

可是當使用Safari下載完成拖入后,并沒有提示重啟,于是我把這個文件壓縮成zip文件重新拖入,可以是還是沒有重啟。于是猜測到應該是?原有的格式內容已經改變了,于是使用谷歌瀏覽下載該文件不會被解壓,拖入后也是重啟了。如果你沒有谷歌瀏覽器則可以到?Safari -> 偏好設置 -> 通用 -> 最下方(下載后打開"安全的"文件的勾去掉),如下圖:


如果解決了您的問題,請點贊??

?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容