This is an old revision of the document!
The Android Development Bridge is a command-line utility for manipulating remote Android devices. The full documentation has a lot of useful information, but this page has a few pointers to get started.
These are split into general categories below. Note that this is the list of commands I've found useful, not a complete set — for that, see the official docs.
Unless otherwise specified, commands are automatically directed to the single detected device. If multiple devices are detected, the following options can be used to specify which to use:
| ||Specifies a USB device if connected, fails with an error if zero or two or more devices are found.|
| || As
| ||Specifies a device by serial number.|
| ||This command lists available devices for communication.|
| || Effectively runs a constant
| ||Opens a remote shell on the specified device.|
| ||Installs the specified application (in the form of an APK file) on the remote device.|
| ||Copies the specified local file to the specified remote location.|
| ||Copies the specified remote file to the specified local location.|
This section includes some handy snippets for particular tasks.