ADB (Android Debug Bridge)

Your bridge to the Android device

What is ADB?

Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. It facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell.

Core Components of ADB

Client

Sends commands. Runs on your development machine.

Daemon (adbd)

Runs commands on users device. Background process on device.

Server

Manages communication between client and daemon. Runs on development machine.

Common ADB Commands

adb devicesLists all connected devices and their status.
adb install <path-to-apk>Installs an application package to the device.
adb logcatPrints log data to the screen.
adb shellStarts a remote shell in the target device.
adb pull <remote> <local>Copies files from the device to your computer.
adb push <local> <remote>Copies files from your computer to the device.

Usage Examples

List Google packages:

adb shell pm list packages | grep google

Open URL in browser:

adb shell am start -a android.intent.action.VIEW -d https://www.android.com

Learn More

Explore the official ADB documentation for comprehensive command reference and advanced usage.

ADB Documentation