HBuilderX android Android phone wifi wireless debugging

HBuilderX has its own adb in the installation package. You don’t need to download it again.
My HBuilderX is the latest stable version. The directory is:
HBuilderX\plugins\launcher\tools\adbs

Mobile phone and computer connected to the same local area network (together with a WiFi)

Run cmd and switch to HBuilderX\plugins\launcher\tools\adbs

Connect the mobile phone data line to the computer (open to allow usb debugging), enter the command: adb tcpip <port number>, <port number> can be taken as long as it is not occupied, such as 6666
adb tcpip 6666 success prompt: restarting in TCP mode port: 6666

 

 

Check the phone's ip, enter the command adb connect 192.168.2.102:666 where 192.168.2.102 is replaced with your own ip.
Successful prompt: connected to 192.168.2.102:6666

 

 

adb devices can view the monitored devices

 

Guess you like

Origin blog.csdn.net/qq_39310195/article/details/114120830