1. Turn on USB debugging on the mobile phone
2. Connect to computer via USB data cable
3. Select the file transfer mode on the mobile phone
4. Enter the command to monitor port 5555
D:\HBuilderX\plugins\launcher\tools\adbs>adb tcpip 5555
restarting in TCP mode port: 5555
5. Enter the command to connect to the mobile phone
D:\HBuilderX\plugins\launcher\tools\adbs>adb connect 192.168.8.888
connected to 192.168.8.888:5555
6. Unplug the USB cable and run the software debugging
If
unable to connect to :5555
Execute the following commands step by step
adb usb
adb kill-server
adb tcpip 5555
adb connect 192.168.8.888:5555
adb usb --切换到USB模式
adb tcpip 5555 --切换到WIFI无线调试
adb connect 192.168.8.888 --连接设备
adb disconnect 192.168.8.888 --断开设备连接
References