下载最新版的adb命令:
进入这个文件夹:
在手机端:
在cmd命令行,运行:
E:\HBuilderX\plugins\launcher-tools\tools\adbs\35.0.1>adb pair 192.168.1.188:43921
Enter pairing code: 512353
adb server version (32) doesn't match this client (41); killing...
* daemon started successfully
Successfully paired to 192.168.1.188:43921 [guid=adb-AASG9PGQDMKVMJAY-CgK9qQ]
E:\HBuilderX\plugins\launcher-tools\tools\adbs\35.0.1>adb connect 192.168.1.188:37319
connected to 192.168.1.188:37319
E:\HBuilderX\plugins\launcher-tools\tools\adbs\35.0.1>
adb pair 192.168.1.188:43921是与手机无线配对,输入后,再输入配对码
以后,只需要使用:adb connect 192.168.1.188:37319命令进行连接即可
连接上之后,
在uniapp中:
就可以进行调试了