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
free 100$ digital ocean credit