1.先用usb连接手机; 2.终端输入 adb shell ifconfig wlan0 先查找到ip 3.adb tcpip 5555 4.adb connect ip地址 断开 adb disconnect ip地址