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 devicesList connected devicesadb install <apk>Install an APKadb shellOpen a shell on the deviceadb logcatView system logsadb push <src> <dest>Copy file to deviceadb pull <src> <dest>Copy file from deviceUsage Examples
List Google packages:
adb shell pm list packages | grep googleOpen URL in browser:
adb shell am start -a android.intent.action.VIEW -d https://www.android.comLearn More
Explore the official ADB documentation for comprehensive command reference and advanced usage.
ADB Documentation