Skip to main content

android-emulator

Verify and debug native, React Native, Expo, or Flutter apps on an Android Emulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an Android virtual device.

معلومات المصدر

المستودع
callstack/agent-device
آخر نشاط في المصدر
٢ نوفمبر ٢٠٢٦ في ١٥:٤٨
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٥٬٢٧٦
التفرعات
٣٧٩

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
android-emulator
description
Verify and debug native, React Native, Expo, or Flutter apps on an Android Emulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an Android virtual device.
# Android Emulator Require the `agent-device` CLI to be installed separately before driving an emulator: ```bash npm install -g agent-device@latest ``` Treat installation and upgrades as user-owned setup steps. Do not run that command autonomously or substitute a mutable `npx -y agent-device@latest` invocation. For a normal app-driving task, start immediately. Do not probe first with `--help`, `--version`, `devices`, `appstate`, `snapshot`, or `screenshot`. Target Android explicitly when opening an app or package id: ```bash agent-device open <app-or-package-id> --platform android --foreground ``` Follow the initial interactive snapshot and corrective error hints. If the shell reports that `agent-device` is unavailable, stop and ask the user to install it or expose their existing installation on `PATH`. When you finish, if your session booted the emulator, run `agent-device close --shutdown`, unless the user asks to keep it running. Only when the task is specialized or a command shape is unclear, read the relevant version-matched help topic: ```bash agent-device help validate # engineering validation and build freshness agent-device help debugging # screenshots, logs, traces, video, and failures agent-device help react-native # React Native and Expo runtime guidance agent-device help react-devtools # React components, props/state/hooks, render profiling agent-device help scripting # durable replay and CI workflows ```
عرض على GitHub