argent-android-emulator-setup

Boot an Android AVD and configure adb reverse for Metro connectivity.

1.9k|65|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/software-mansion/argent --skill argent-android-emulator-setup-software-mansion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argent-android-emulator-setup
Source: https://github.com/software-mansion/argent/tree/main/packages/skills/skills/argent-android-emulator-setup
Command: npx skills add https://github.com/software-mansion/argent --skill argent-android-emulator-setup-software-mansion

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the guesswork and delays involved in finding, booting, and preparing an Android emulator so your agent can start UI interaction reliably.

Core Features & Use Cases

  • Emulator discovery & device selection: Selects an available ready Android device and returns the correct serial for downstream interaction tools.
  • Smart boot handling: Boots a target AVD using hot vs cold paths by checking snapshot availability, with cleanup on failure to keep sessions consistent.
  • React Native connectivity setup: Configures adb reverse port forwarding to reach Metro on the host once a device is up, enabling immediate app iteration.

Quick Start

Ask your assistant to set up an Android emulator session by selecting a ready device (or booting the specified AVD) and preparing it for UI interaction and React Native Metro connectivity.

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 using adb?

To boot an Android emulator, use the emulator binary and adb Platform Tools to list available devices, boot a specified AVD using hot or cold snapshot paths, and return the correct adb serial for downstream automation.

Why does my React Native app fail to connect to Metro on an Android emulator?

Your React Native app fails to connect to Metro because adb reverse port forwarding is not configured. Setting up adb reverse for tcp:8081 allows the emulator to reach the Metro bundler running on the host.

What is the difference between a hot and cold boot for an Android Virtual Device?

A hot boot loads an Android Virtual Device from an existing snapshot for faster startup, while a cold boot starts the system fresh. The setup process checks snapshot availability to select the optimal boot path.

Can I automate finding a ready Android device and getting its adb serial for UI testing?

You can automate device discovery by listing connected devices with adb, selecting an available ready Android emulator, and returning the correct adb serial needed for downstream UI automation interaction tools.

How do I prepare an Android emulator for UI automation and Metro debugging?

Prepare an Android emulator by booting the target AVD, obtaining the correct adb serial, and configuring adb reverse port forwarding to establish React Native Metro connectivity before starting UI automation.