What problem does it solve?
This Skill helps you reliably connect to an Android device and diagnose why a debug APK fails to install or launch, reducing time spent on guesswork.
Core Features & Use Cases
- Device connectivity verification (USB/Wireless): Detects no-device, unauthorized, offline, and reconnect scenarios before deployment.
- Deterministic debug installation flow: Installs via Gradle first, with a targeted adb fallback that supports flavor/package variations.
- Process and log validation for failures: Launches, confirms the app PID, resolves the correct installed package, and captures focused logcat output.
- Recovery branches for common install issues: Handles INSTALL_FAILED_UPDATE_INCOMPATIBLE, signature/stale state via uninstall/pm clear, and offline recovery.
- Escalation to deeper runtime investigation: Points to a more advanced workflow when basic logcat is insufficient.
Quick Start
Use the adb-device-workflow skill to deploy and validate your AniTrend debug build on the connected USB device by following the ADB device detection, Gradle install, launch, PID check, and scoped logcat capture steps.