Skip to content

Latest commit

 

History

History
83 lines (49 loc) · 2.42 KB

README.md

File metadata and controls

83 lines (49 loc) · 2.42 KB


adbs

Seamless work with multiple Android devices using android debug bridge.

download count CI status package version


About:

Android Debug Bridge is a versatile command-line tool that lets you communicate with a device. It's included in the Android SDK Platform-Tools package. Must-have tool while developing android apps.

Although adb is great, it becomes a bit cumbersome when used with more than one android device (connected real phone/emulator to host). You have to specify a "target device", by providing it's unique device number.

adbs ease this pain by giving you a nice UI for selecting "target device". Can be used interchangeably with adb itself.

Highlights:

  • Helps distributing adb commands to multiple devices/emulators
  • If more than one device/emulator is running, prompt will ask for target
  • You can specify targets upfront (see Usage)
  • Can be used interchangeably with adb

Install:

To install adbs, you'll need Node.js and one of package managers: npm (comes with node) or yarn. Next, using command line:

$ npm install --global adbs 

# or

$ yarn global add adbs

Usage

  $ adbs [adbs options] [adb command]

  Options
    all                     Run commands on all devices
    dev                     Run commands on all physical devices
    emu                     Run commands on all running emulators
    help    | -h            Displays this screen
    version | -v            Display current adbs version
  
  Examples
    $ adbs all shell netstat
    $ adbs emu install app.apk

License

MIT