Android emulator qa

From fanfan-de/anybox · View interactive version

Android emulator qa is an AI agent skill from the GitHub repository fanfan-de/anybox. Use when validating Android feature flows in an emulator with adb-driven launch, input, UI-tree inspection, screenshots, and logcat capture.

How to use this skill

Skill file

Android Emulator QA

Validate Android app flows in an emulator using adb for launch, input, UI-tree inspection, screenshots, and logs.

When to use

Quick start

1) List emulators and pick a serial:

2) Build and install the target variant:

3) Launch the app:

4) Capture a screenshot for visual verification:

adb control commands

Coordinate picking (UI tree only)

Always compute tap coordinates from the UI tree, not screenshots.

1) Dump the UI tree to a step-specific file:

2) Find the target node and derive center coordinates (x y) from bounds:

3) If the node is missing and there are scrollable elements:

4) Tap the center:

UI tree skeleton (helper)

Use this helper to create a compact, readable overview before inspecting full XML.

1) Dump full UI tree:

2) Generate summary:

3) Review /tmp/ui-summary.txt to choose likely targets, then compute exact bounds from full XML.

Logs (logcat)

1) Clear logs:

2) Stream app process logs:

3) Crash buffer only:

4) Save logs:

Package shortcuts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.