Android 旁門左道——win10 虛擬機訪問 Mac 主機上運行的安卓模擬器

connect to Android emulators running on a Mac from a Windows VM

老鳥篇

adb kill-server
cd /tmp
mkfifo backpipe
nc -kl 5555 0<backpipe | nc 127.0.0.1 5555 > backpipe

查看 tcp 端口:

lsof -iTCP -sTCP:LISTEN -P | grep 'emulator\|qemu'

新鳥

沒什麼鳥時間寫,隨緣。


本方法參考這篇文章(中文)(英文)寫的很好。

這是第二種方法

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章