How to execute adb command on the specified Android phone when the computer is connected to multiple Android devices

Scan code to follow, learn together
Insert picture description here

In our daily work, we often use one computer to connect to multiple testing machines for testing.

But at this time there will be a problem, how to perform adb command on the specified device without canceling the connection

It can be done in only two steps

The first step: adb devices
find the connected device id number the
Insert picture description here
second step:

Execute the command: adb -s your device id the command you want to operate

Guess you like

Origin blog.csdn.net/qq_43804080/article/details/106576203