uni-app adb Android wifi wireless debugging

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

(11 messages) uni-app adb Android wifi wireless icon-default.png?t=M4ADdebugging

unable to connect to 192.168.0.0.1:5555 Unable to connect because the target computer actively refused it. (10061)_luhuiluo's blog-CSDN blog_10061 The target computer actively refuses icon-default.png?t=M4ADhttps://blog.csdn.net/luhuiluo/article/details/82691477 

Guess you like

Origin blog.csdn.net/qq285679784/article/details/125237800