操作系統(tǒng):Mac OS
1.首先看一下5037端口是否有進(jìn)程占用
netstat -na | grep 5037
2.執(zhí)行adb shell
image.png
3.再次執(zhí)行
netstat -na | grep 5037
image.png
adb server在監(jiān)聽5037端口
4.adb tcpip 5555
5.adb connect 192.168.51.57
6.再次打開一個shell
輸入
netstat -na | grep 5037
image.png
adb client和adb server建立tcp連接了
7.adb server 和adb daemon建立連接
image.png