android-cli
하는 일
이 도구는 명령줄에서 직접 안드로이드 앱 개발을 관리하도록 돕습니다. 새 프로젝트를 만들고, SDK 같은 필요한 구성 요소를 설치하거나 업데이트하며, 연결된 안드로이드 기기와 상호작용할 수도 있습니다.
사용하는 경우
- ✓새 안드로이드 프로젝트를 빠르게 만들어야 할 때.
- ✓안드로이드 SDK의 일부를 설치하거나 관리하고 싶을 때.
- ✓스크린샷 촬영처럼 연결된 안드로이드 기기와 상호작용해야 하는 경우.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/android-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“‘My App’이라는 새 안드로이드 프로젝트는 어떻게 만드나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
프로젝트를 만들려면 ‘android create’ 같은 명령을 입력하고, 구성 요소를 설치하려면 ‘android sdk install’ 같은 명령을 입력합니다. 도구는 이런 명령을 사용해 요청한 안드로이드 개발 작업을 수행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Android CLI Specialist
This skill provides instructions for using the android CLI tool. The tool includes various commands for creating projects, running applications, interacting with devices, and managing the CLI environment.
When to Use
- Use when you need to create, configure, or analyze Android projects from the command line.
- Use when interacting with, deploying to, or taking screenshots of running Android devices.
- Use when managing Android SDK components, versions, or virtual devices (emulators).
- Use when inspecting UI layouts or running XML-specified journey tests.
Installation
If the android tool is not in the path, download the platform installer to a private temporary directory, inspect it, then run it only after the user confirms the source and contents:
tmpdir="$(mktemp -d "${TMPDIR:-/tmp}/android-cli.XXXXXX")" || exit 1
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh -o "$tmpdir/install.sh"
sed -n '1,160p' "$tmpdir/install.sh"
# After review and explicit user confirmation:
bash "$tmpdir/install.sh"
Use the matching darwin_arm64/install.sh or windows_x86_64/install.cmd URL for macOS or Windows. Do not pipe mutable network installer scripts directly into a shell.
SDK Management
To manage the installation of Android SDKs and tools, use the sdk command. For example:
android sdk install <package>[@<version>]...: Install specific packages. Multiple packages can be specified, separated by spaces.<version>defaults to latest. For example:android sdk install platforms/android-30@2 platforms/android-34android sdk update [<pkg-name>]: Update a specific package or all packages to the latest version.android sdk remove <pkg-name>: Remove a package from the local SDK.android sdk list --all: List installed and available SDK packages.
Project Creation
Create projects from templates using the create command.
For example:
android create empty-activity --name="My App" --output=./my-app
Interacting with Devices
For more information on interacting with running devices, see here.
Running Journey Tests
For more information on running journeys, see here.
Doc Searching
The docs command searches authoritative, high-quality Android developer documentation in the Android Knowledge Base.
By providing a few keywords, this tool will return high quality articles that contain examples or guidance on how to use Android APIs or libraries.
Use this tool to obtain additional information on how to achieve Android-specific tasks or to know more about Android APIs, surfaces, libraries, or devices.
Always use this tool to get the most up-to-date information about Android concepts. Typical good use cases are:
- Finding migration guides for APIs.
- Finding examples for APIs.
- Finding up-to-date information about Android APIs.
- Finding best practices for Android concepts.
Running APKs
Use the run command to run Android apps.
Managing Emulators
Manage Android Virtual Devices (AVDs) using the android emulator command.
Capturing Screenshots
Capture an image of the current screen of a connected Android device and output it to a file using the android screen capture -o <file path> command.
Managing Skills
Manage antigravity agent skills for Android using the android skills command.
Inspecting UI Layouts
Use the android layout command to inspect the UI layout of an Android application. It returns the layout tree of an Android application in JSON format. When debugging UI errors, this is often a much faster approach than taking a screenshot.
Updating the CLI
Update the Android CLI using the android update command.
Limitations
- The
androidCLI must be installed and available onPATH; otherwise install it first or use the platform-specific setup guidance above. - Device, emulator, SDK, and documentation commands can depend on local Android SDK state, network access, and attached hardware.
- Treat generated commands as environment-sensitive: inspect paths, package names, device serials, and install/update targets before running them.
Android Help Output
Usage: android [-hV] [--sdk=PARAM] [COMMAND]
-h, --help Show this help message and exit.
--sdk=PARAM Path to the Android SDK
-V, --version Print version information and exit.
Commands:
…
자주 묻는 질문
안드로이드 SDK는 어떻게 설치하나요?
‘android sdk install’ 명령 뒤에 패키지 이름과, 필요하다면 버전을 입력하면 됩니다. 예를 들면 ‘android sdk install platforms/android-30@2’와 같습니다.
안드로이드 기기의 스크린샷은 어떻게 찍나요?
‘android screen capture -o filename.png’ 명령을 사용하세요. 기기가 연결되어 있는지 먼저 확인해야 합니다.
‘android docs’는 무엇인가요?
공식 안드로이드 문서를 검색해 API와 라이브러리 사용법에 대한 예제와 안내를 찾아 주는 명령입니다.
상세 정보
작성자의 원본 설명
Orchestrates Android development tasks including project creation, deployment, SDK management, and environment diagnostics using the `android` command-line tool.
인기도
- GitHub 스타
- 48k
- 순위
- #6249
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
android-clean-architecture
280k에이전트가 Android 프로젝트를 효율적으로 구성하도록 돕습니다. 유지보수와 새 기능 개발이 쉽도록 코드를 구조화합니다.
compose-multiplatform-patterns
280k에이전트가 KMP 프로젝트에서 Compose Multiplatform과 Jetpack Compose 패턴을 쓰도록 돕습니다. 상태, 내비게이션, 테마, 성능을 다룹니다.
dart-flutter-patterns
280kDart와 Flutter 앱용 코드를 작성하도록 에이전트를 돕습니다. 견고하고 관리하기 쉬운 앱을 만드는 현대적인 패턴을 씁니다.