Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/krizzu/adbs

Seamless work with multiple Android devices using android debug bridge
https://github.com/krizzu/adbs

adb adbs android android-debug-bridge android-development cli node react-native

Last synced: 2 days ago
JSON representation

Seamless work with multiple Android devices using android debug bridge

Awesome Lists containing this project

README

        




adbs


Seamless work with multiple Android devices using android debug bridge.











## About:

[Android Debug Bridge](https://developer.android.com/studio/command-line/adb) 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**](#usage))
- Can be used **interchangeably** with `adb`

## Install:

To install `adbs`, you'll need [Node.js](https://nodejs.org/en/download/) and one of package managers: [npm](https://www.npmjs.com/) (comes with node) or [yarn](https://yarnpkg.com/lang/en/docs/install/#mac-stable). 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](./LICENSE)