最近一陣腦熱想看看android方面的東西,既然這樣就必須安裝一個(gè)安卓模擬器來過過隱了庆械,好多網(wǎng)友都說genymotion比較好用津肛,下載一個(gè)來看看,注冊帳號后下載debian 9版本的genymotion搜锰,是一個(gè)bin文件伴郁,
chmod +x xxxxx.bin? 賦予可執(zhí)行權(quán)限后運(yùn)行安裝,好像是安裝程序在哪個(gè)文件夾里就默認(rèn)安裝到那個(gè)文件夾下蛋叼,
安裝后的文件夾名稱是genymobile焊傅,再進(jìn)入genymotion文件夾下,
直接運(yùn)行g(shù)enymotion啟動(dòng)程序狈涮,輸入帳號密碼然后選擇相應(yīng)的手機(jī)型號和安卓版本自動(dòng)下載狐胎,下載結(jié)束后就可以啟動(dòng)模擬器了,
apk文件可以直接托進(jìn)去安裝歌馍,但是安裝apk的時(shí)候有些apk提示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.
官網(wǎng)給出的解釋:Genymotion模擬器使用的是x86架構(gòu)握巢,在第三方市場上的應(yīng)用有部分不采用x86這么一種架構(gòu),所以在編譯的時(shí)候不通過松却,報(bào)“APP not installed”暴浦,可以下載Genymotion提供的ARM轉(zhuǎn)換工具包,將應(yīng)用市場中的ARM架構(gòu)的apk轉(zhuǎn)換成Genymotion可以編譯的x86架構(gòu)晓锻;
于是下載gapps-kk-20140105-signed.zip ? 和Genymotion-ARM-Translation.zip直接托進(jìn)安卓模擬器里自動(dòng)進(jìn)行安裝歌焦,重啟就可以正常安裝apk了
文件包這里有
鏈接: https://pan.baidu.com/s/1dGK8b0 密碼: 6mbr