ADB (Android Debug Bridge)

Powerful tool for Android development and debugging

What is ADB?

ADB is a versatile command-line tool that lets you communicate with and control Android devices. It is essential for development, debugging, and automation.

Common Uses

App Management

Install and uninstall apps, manage app data and permissions.

Device Shell

Access device shell for direct command execution.

File Transfer

Transfer files between device and computer seamlessly.

Logcat

View system logs for debugging and monitoring.

Automation

Automate device actions and testing workflows.

Common Commands

adb devices List connected devices
adb install <apk> Install an APK
adb shell Open a shell on the device
adb logcat View system logs
adb push <src> <dest> Copy file to device
adb pull <src> <dest> Copy file from 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