Use the -s
option BEFORE the command to specify the device, for example:
adb -s 7f1c864e shell
See also http://developer.android.com/tools/help/adb.html#directingcommands
More Related Contents:
- What’s the Android ADB shell “dumpsys” tool and what are its benefits?
- Understanding command through adb shell and through code – Android
- Why do I get a “sqlite3: not found” error on a rooted Nexus One when I try to open a database using the adb shell?
- Where to find info on Android’s “service call” shell command?
- adb remount permission denied, but able to access super user in shell — android
- How to turn off Wifi via ADB?
- batch scripting – if exist ./sdcard/file.any using adb
- Copying files in ADB shell with run-as
- Android ADB commands to get the device properties
- Launch a script as root through ADB
- shell/ batch scripting to direct commands to adb shell
- How to measure time from adb shell with milliseconds resolution?
- adb shell su works but adb root does not
- How to start an application using Android ADB tools
- ADB Shell Input Events
- adb not finding my device / phone (MacOS X)
- How to simulate a touch event in Android?
- ‘adb’ is not recognized as an internal or external command, operable program or batch file
- Android app crashes when launched in debug mode
- Debugging sqlite database on the device
- How to use ADB to send touch events to device using sendevent command?
- How to simulate touch from background service with sendevent or other way?
- Error initializing ADB: Unable to create Debug Bridge: Unable to start ADB server
- Android device is not connected to USB for debugging (Android studio)
- Stopping an Android app from console
- Change Device language via ADB
- Is adb remount broken on android api 29?
- macbook adb cannot open interface
- adb devices command not working
- ADB is not recognizing my device