Boot an Android emulator and find its serial with Argent. Use when no Android emulator is running yet or you need to pick and boot one.
Getting started
Full instructionsInstall the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.
Instructions: SKILL.mdv1.0.1
1. Prerequisites
The Android SDK (platform tools and emulator) and an AVD, created in Android Studio or with avdmanager create avd. If list-devices returns no Android entries, either no AVD exists or Argent can't find the SDK. Then run argent config set android.sdkRoot <sdk-path> and call list-devices again after a minute: a failed SDK lookup is cached that long. Exporting ANDROID_HOME in your shell doesn't reach the tool-server that is already running.
2. Setup
- Find a ready device: call
list-devices. Filter for entries withplatform: "android". Ready devices (state: "device") come first. If the user named a device, use it. Otherwise pick the firstkind: "emulator"that fits the task. Take a physical phone (kind: "device") only when the user asks for one. If the result'snotesmention the adb server, prefix everyadbcommand that you run yourself, as the note shows. - Boot if needed: if no such emulator is ready, call
boot-devicewith theavdNameof akind: "avd"entry. It returns the serial; pass that serial asudidto argent tools. Anavdentry doesn't mark TV images: for a TV task, pick the AVD by its name.
3. Using the device
Pass the Android serial as udid to the same interaction tools as on iOS. See argent-device-interact (and its references/advanced.md for Android notes). If a React Native app can't reach Metro, see argent-metro-debugger §1.
4. Notes
- Android TV / leanback AVDs boot through this exact flow, but once running
list-devicestags themruntimeKind: "tv"and they are focus-driven: use theargent-tv-interactskill, not the gesture tools. - To stop the emulator, run
adb -s <serial> emu killfrom a shell (clean shutdown). Neverpkill -9/kill -9qemu: a hard kill leaves the userdata image dirty, after which cold boots can hang for many minutes doing recovery (runaway writes,boot_completednever flips). If an image gets into that state, boot once with-wipe-datato reset it.
Explore more skills
Browse all- Argent QA E2EWrite repeatable QA regression e2e tests from test cases, tickets, or acceptance criteria (iOS, Android, Chromium, Mac…
- Argent Ios Device SetupSet up a physical iPhone over USB or CoreDevice tunnel for Argent. Use when a physical iPhone is involved (kind…
- Argent Test UI FlowAutonomously verify one-off mobile UI flows (iOS/Android) with interact-screenshot-verify loops. Use when testing…
- Argent Settings PermissionsGrant, deny, or reset app runtime permissions out-of-band on an iOS simulator or Android device via…
- Argent Device InteractDrive iOS, Android, or Chromium apps with Argent MCP tools. Use when tapping, swiping, typing, launching apps, waiting…
- Argent React Native OptimizationEntry-point for React Native performance optimization; profiles first via `argent-react-native-profiler`. Use when the…
Security
Reviews (0)
More from argent
View source →Frequently asked questions about argent-android-emulator-setup
What does the argent-android-emulator-setup skill do?
Boot an Android emulator and find its serial with Argent. Use when no Android emulator is running yet or you need to pick and boot one. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the argent-android-emulator-setup skill?
Run `npx @skills-hub-ai/cli install argent-android-emulator-setup` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/argent-android-emulator-setup/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does argent-android-emulator-setup work with?
argent-android-emulator-setup runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the argent-android-emulator-setup skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use argent-android-emulator-setup after installing it?
In Claude Code, type `/argent-android-emulator-setup` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the argent-android-emulator-setup skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/argent-android-emulator-setup)<a href="https://skills-hub.ai/skills/argent-android-emulator-setup"><img src="https://skills-hub.ai/api/badges/skill/argent-android-emulator-setup" alt="Install on Skills Hub"></a>More options in the badge docs.