uni-app adb安卓wifi无线调试

1、手机打开USB调试

2、通过USB数据线连接电脑

3、手机端选择文件传输模式

4、输入监听5555端口的命令

D:\HBuilderX\plugins\launcher\tools\adbs>adb tcpip 5555
restarting in TCP mode port: 5555

5、输入连接手机的命令

D:\HBuilderX\plugins\launcher\tools\adbs>adb connect 192.168.8.888
connected to 192.168.8.888:5555

6、拔开USB线,运行App调试

如果出现以下情况

unable to connect to :5555

按步骤执行以下命令即可

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 --断开设备连接

参考资料

(11条消息) uni-app adb安卓wifi无线调试_景影随形的博客-CSDN博客_uniapp wifi调试icon-default.png?t=M4ADhttps://blog.csdn.net/anjingshen/article/details/121639066

unable to connect to 192.168.0.0.1:5555由于目标计算机积极拒绝,无法连接。 (10061)_luhuiluo的博客-CSDN博客_10061目标计算机积极拒绝icon-default.png?t=M4ADhttps://blog.csdn.net/luhuiluo/article/details/82691477 

猜你喜欢

转载自blog.csdn.net/qq285679784/article/details/125237800