adb

android debug bridge

TLDR

Check whether the adb server process is running and start it

$ adb start-server
copy

Terminate the adb server process

$ adb kill-server
copy

Start a remote shell in the target emulator/device instance

$ adb shell
copy

Push an Android application to an emulator/device

$ adb install -r [path/to/file.apk]
copy

Copy a file/directory from the target device

$ adb pull [path/to/device_file_or_directory] [path/to/local_destination_directory]
copy

Copy a file/directory to the target device

$ adb push [path/to/local_file_or_directory] [path/to/device_destination_directory]
copy

Get a list of connected devices

$ adb devices
copy

SYNOPSIS

adb [ options ] command

DESCRIPTION

adb

For the full and up to date documentation visit:

http://developer.android.com/guide/developing/tools/adb.html

Copied to clipboard
Stream 500+ movies for free and without signup