What problem does it solve?
Interacting with Android devices via ADB and shell commands can be error-prone and tedious. This skill provides a structured guide and practical commands to connect devices, run diagnostics, manage apps, automate UI actions, collect logs, and analyze crashes.
Core Features & Use Cases
- Connection: Connect devices via USB or wireless ADB, handle multiple devices, and ensure proper authorization.
- Shell Commands: Execute commands, view system properties, manage files, and monitor processes.
- App Management: Install, uninstall, grant permissions, start/stop apps, and manage app data.
- UI Automation: Perform taps, swipes, text input, and simulate hardware key events; capture screenshots and UI dumps.
- Debugging & Logs: Use logcat and dumpsys to diagnose issues, collect crash data, and inspect tombstones.
- System Inspection: Inspect system state with dumpsys, getprop, and device health metrics.
- Reboot & Recovery: Reboot into different modes and perform recovery-oriented troubleshooting.
- Troubleshooting: Troubleshoot device connectivity and command availability with common fixes.
Quick Start
Connect an Android device via USB or pair it wirelessly, ensure USB debugging is enabled, and start using ADB commands to inspect, install, and debug apps.