Solution: Specify Target Device with -s Flag
- Run `adb devices` to get the serial of your target phone (e.g. `RF8M90ABCDEF`)
- Prefix your commands with `-s <SERIAL>`: `adb -s RF8M90ABCDEF shell`
adb devices
adb -s <SERIAL> shell
Target a specific Android device when multiple phones or emulators are connected simultaneously.
adb devices
adb -s <SERIAL> shell
Use `-d` to target physical USB phone or `-e` to target emulator.
adb -d shell
adb -e shell