Chuyển đến nội dung
Skillpedia
Ứng dụng di động5.2k · #15027

android-emulator

Skill này làm gì

Skill này dùng công cụ dòng lệnh agent-device để chạy và kiểm thử ứng dụng native, React Native, Expo hoặc Flutter trên trình giả lập Android. Skill dành cho lập trình viên muốn xác minh một thay đổi trên Android.

Khi nào nên dùng

  • ✓Khi bạn muốn kiểm tra một thay đổi ứng dụng Android hoạt động trong trình giả lập.
  • ✓Khi bạn muốn tái hiện một lỗi từng bước trên trình giả lập Android.
  • ✓Khi bạn muốn ảnh chụp màn hình và nhật ký từ một bài kiểm thử ứng dụng Android bị lỗi.

Liên kết skill

https://github.com/callstack/agent-device/blob/main/skills/android-emulator/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/callstack/agent-device/blob/main/skills/android-emulator/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chạy ứng dụng Flutter của tôi trên trình giả lập Android và hướng dẫn tôi qua luồng thanh toán, kèm ảnh chụp màn hình nếu có lỗi.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent mở ứng dụng trên trình giả lập, đọc màn hình và chạm hoặc gõ qua các bước. Agent thu thập ảnh chụp màn hình và chi tiết gỡ lỗi khi một bước thất bại.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Android Emulator

Require the agent-device CLI to be installed separately before driving an emulator:

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:

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:

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
Câu hỏi thường gặp

Tôi có cần cài gì trước không?

Có. Bạn phải tự cài công cụ dòng lệnh agent-device trước khi agent có thể dùng.

Agent có tự nâng cấp công cụ không?

Không. Cài đặt và nâng cấp là các bước bạn tự làm, không phải agent.

Điều gì xảy ra với trình giả lập khi bài kiểm thử kết thúc?

Nếu phiên làm việc đã khởi động trình giả lập, agent sẽ tắt nó trừ khi bạn yêu cầu giữ chạy.

Chi tiết

Mô tả gốc của tác giả

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.

repo: callstack/agent-device

Độ phổ biến

Sao GitHub
5.2k
Vị trí xếp hạng
#15027
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự