android studio wireless connection debugging mobile phone

The following commands are all operated in the terminal. If there is no configuration, please configure by yourself. Note that the mobile phone and the computer must be in the same wireless LAN, and the mobile phone and the computer are connected. 1.adb tcpip 5555 2.adb shell ip -f inet addr
show
wlan0
3.adb connect mobile phone ip:5555
insert image description here

Guess you like

Origin blog.csdn.net/ligaoyuan8030/article/details/104500174