argent-android-emulator-setup

Boot an Android AVD and prepare device connectivity for UI automation.

34|2|Updated Aug 16, 2025
One-click install
npx skills add https://github.com/FilenCloudDienste/filen-ts --skill argent-android-emulator-setup-filenclouddienste
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: argent-android-emulator-setup
Source: https://github.com/FilenCloudDienste/filen-ts/tree/main/.claude/skills/argent-android-emulator-setup
Command: npx skills add https://github.com/FilenCloudDienste/filen-ts --skill argent-android-emulator-setup-filenclouddienste

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the friction of starting a new Android emulator session by automatically finding a usable device, booting the right AVD when needed, and preparing connectivity so you can begin UI automation immediately.

Core Features & Use Cases

  • Select a ready Android device by listing devices and choosing an Android serial suitable for interaction.
  • Boot the correct AVD when no Android device is currently ready, using snapshot-based hot boot when available and falling back to cold boot on failures.
  • Enable React Native Metro connectivity via adb reverse so in-app debugging works before any UI actions.
  • Use Case: You need to run UI tests against an Android app in a fresh environment; this skill prepares the emulator and device serial so you can proceed with tap, swipe, describe, screenshot, and launch tasks.

Quick Start

Use the argent tools to select or boot an Android emulator device and return an Android device serial that you can pass as udid to interaction actions.

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 and get a device serial for UI automation?

To boot an Android emulator, the skill lists available devices and boots the required AVD if none are ready, returning a device serial. This serial can then be passed as the udid to UI interaction actions like tap and swipe.

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

React Native Metro connectivity fails when host-to-device ports are not mapped. This skill resolves it by running adb reverse for tcp:8081, ensuring the emulator can reach the local Metro bundler before UI actions begin.

Do I need Android SDK platform tools on PATH to automate AVD booting?

Yes, you need Android SDK platform tools on PATH to execute adb commands and Android emulator binaries for AVD booting. These prerequisites allow the automation to locate devices and manage snapshot-based hot boots.

What happens if an Android emulator snapshot boot fails during device setup?

If an Android emulator snapshot boot fails, the skill falls back to a cold boot. This ensures a device serial is still successfully returned for your UI automation session even when hot booting encounters errors.

Can I use this skill to prepare an Android device for automated screenshot and launch tasks?

Yes, you can use this skill to prepare a fresh Android emulator environment. It boots the correct AVD and establishes device readiness so you can immediately proceed with screenshot, launch, and swipe automation tasks.

What is the best way to find a ready Android device serial for interaction?

The best way to find a ready Android device serial is to use list-devices tools to identify an available device. If no device is currently ready, the automation will boot the required AVD to provide a usable serial.