andriud studio command line WIFI connection debugging

To say that android studio has a plugin for wifi debugging, but downloading a few is not easy to use, and I don't know where the problem is, and finally I connected it with the command line. Record:
1. The computer and the mobile phone are connected to the same WiFi, and the mobile phone is connected to the computer via USB

2. Get the IP address of the mobile phone, this should be all right

3. Open Terminal and enter the following command

4,adb devices

此命令验证设备处于调试状态,显示如下

F:\Android\NiceWeather>adb devices
List of devices attached
0038c97e958d381e device

5,adb tcpip 5555

This command restarts the adb daemon in TCP/IP mode, and then listens on port 5555 (the default port of adb), this command shows no results

6. adb connect 192.168. .** (the IP of the phone)

Shows as follows

F:\Android\NiceWeather>adb connect 192.168..**
connected to 192.168..**:5555
7,adb devices

Shows as follows

F:\android\NiceWeather>adb devices
List of devices attached
0038c97e958d381e device
192.168. .** :5555 device
Check if it is connected, if yes, unplug the USB
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325777873&siteId=291194637