Android – lists the ADB devices on the network

$adb usb 
restarting in USB mode


$adb devices
List of devices attached
######## device

$adb tcpip 5555
restarting in TCP mode port: 5555

Obtain the IP address of the Android device. (usually under system settings, and then under network settings, you can find out how to obtain the IP address on a specific device). The IP address should be similar to 12.34.56.78 (although this may be different). After obtaining the IP address, continue to execute the following command:

$adb connect 12.34.56.78
connected to 12.34.56.78:5555

Unplug the USB cable from the device

$adb devices
List of devices attached
12.34.56.78:5555 device

Source

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>