argent-android-emulator-setup

Boot Android emulators and connect adb devices for UI interaction tasks.

Updated Aug 29, 2026
One-click install
npx skills add https://github.com/Seyamalam/pstu_final --skill argent-android-emulator-setup-seyamalam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argent-android-emulator-setup
Source: https://github.com/Seyamalam/pstu_final/tree/main/.agents/skills/argent-android-emulator-setup
Command: npx skills add https://github.com/Seyamalam/pstu_final --skill argent-android-emulator-setup-seyamalam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up an Android emulator and getting a usable device serial is a repetitive prerequisite for any mobile UI automation or testing session, and mistakes like hard-killing the emulator can corrupt the userdata image. ## Core Features & Use Cases - Device Discovery: Lists connected devices via list-devices, filters for Android entries, and selects a ready serial such as emulator-5554. - Emulator Booting: Boots an AVD with boot-device, automatically choosing a fast hot boot from a snapshot or falling back to a cold boot, and cleaning up the emulator process on failure. - React Native Support: Configures adb reverse tcp:8081 so the device can reach the Metro bundler during React Native development. - Use Case: Before running automated UI tests on an Expo app, use this Skill to boot the emulator, obtain the serial, and pass it as udid to interaction tools like gesture-tap and screenshot. ## Quick Start Boot an Android emulator and give me the device serial so I can start interacting with the app.

Frequently Asked Questions about argent-android-emulator-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I boot an Android emulator from the command line?

Call the boot-device tool with the AVD name from the avds list. It probes the AVD's default_boot snapshot for a fast hot boot (~30s) and falls back to a full cold boot (2-10 minutes) when the snapshot is unusable.

How do I connect an Android emulator to the Metro bundler?

Run adb -s <serial> reverse tcp:8081 tcp:8081 once the device is up so it can reach Metro on your host. Repeat the command if the device restarts, since the reverse mapping does not persist.

Can I use gesture-tap on an Android TV emulator?

No. Android TV and leanback AVDs are focus-driven, not touch-driven. When list-devices reports runtimeKind: "tv", drive the device with describe, tv-remote, and keyboard instead of gesture-tap or gesture-swipe.

Why does my Android emulator hang on cold boot?

A hard kill with pkill -9 or kill -9 on the qemu process leaves the userdata image dirty, causing long recovery on the next cold boot. Shut down cleanly with adb -s <serial> emu kill, or boot once with -wipe-data to reset a corrupted image.

What prerequisites are needed to set up an Android emulator?

You need Android SDK Platform Tools on PATH for adb, the Android Emulator on PATH for booting AVDs, and an AVD created via Android Studio or avdmanager. Verify the setup with adb version and emulator -list-avds.