사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/software-mansion/argent --skill argent-android-emulator-setup시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
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 devices and no avds, 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 has ahintabout the adb server, prefix everyadbcommand that you run yourself, as the hint shows. - Boot if needed: if no such emulator is ready, call
boot-devicewithavdName: <name>from the same call'savdslist.avdsdoesn'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 for interaction tooling and the Android notes at the bottom of that skill. 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
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.