December 2018
Beginner to intermediate
328 pages
8h 29m
English
If more than one device is connected to the system, you must specify the target device while issuing the commands. For example, consider the following case:
adb devicesList of devices attached4df16ac5115e4e04 device7f1c864544456o6e device
As shown in the preceding command-line output, there are two devices attached to the workstation. In this case, adb needs to be used along with the –s option to issue commands to the device of your choice:
adb shell -s 4df16ac5115e4e04
Similarly, the d switch can be used to direct an adb command to the only attached USB device, and the e switch can be used to direct an adb command to the only running emulator instance.
Read now
Unlock full access