List of adb devices on the network

I have several devices allowed for debugging in the air. Can I list adb devices on the network? Something similar or with the same effect as adb devices, but for devices that are included for aerial debugging.

+4
source share
2 answers

If you follow these steps accurately and run the command adb devices, the Android device should appear under List of Attached Devices. First, open a command window and make sure you are in the same directory as adb, or have adb in the PATH variable. Then run the following list of commands:

$adb usb 
restarting in USB mode


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

$ adb tcpip 5555
restarting in TCP mode port: 5555

IP- Android. ( " ", " " , IP- ). IP- 12.34.56.78 ( ). , IP- :

$ adb connect 12.34.56.78
connected to 12.34.56.78:5555

Remove the USB cable from the device

$ adb devices
List of devices attached
12.34.56.78:5555 device

+2

Android SDK, - , 5555 .

, , , 5555.

0

Source: https://habr.com/ru/post/1542927/


All Articles