Debugging workflow:
- Collect context with
./tools/android device info --json,./tools/android app current --json, and./tools/android screenshot --json. - If reproducing a bug, clear logs first with
./tools/android debug clear-logs --json. - Collect logs with
./tools/android debug logs --json, adding--packageand--levelwhen relevant. - Correlate the logs with the current screen and the user's report.
- Report:
- what happened
- the strongest evidence
- likely root cause
- the next debugging step
Use raw adb only for diagnostics not yet covered by the command layer.


