Android CLI: Build Android apps 3x faster using any agent
TL;DR Highlight
Google says Android CLI cut setup tokens by 70% and made agent tasks 3x faster.
Who Should Read
Mobile developers building Android apps with agents like Claude Code or Codex who lose time to SDK setup and outdated code patterns
Core Mechanics
- Android CLI does everything from the terminal
- Commands like android sdk install, create, emulator, run, and update cover setup through deployment.
- It was rebuilt as a lightweight programmatic interface that agents can use easily.
- Internal tests: 70% fewer tokens, 3x faster
- Google says LLM token usage dropped by more than 70% for project and environment setup.
- The baseline is agents using only standard toolsets, and tasks finished 3x faster.
- Android skills steer agents to current patterns
- Skills are markdown instruction sets (SKILL.md) that trigger automatically when your prompt matches their metadata.
- The first release covers Navigation 3, edge-to-edge, AGP 9 and XML-to-Compose migrations, and R8 config analysis.
- android docs searches the latest docs
- It searches and fetches the Android Knowledge Base.
- It draws on Android docs, Firebase, Google Developers, and Kotlin docs, so even an LLM with a year-old cutoff gets current guidance.
- Prototype in CLI, polish in Android Studio
- You can open a CLI-created project in Android Studio and continue there.
- The CLI is in preview and downloadable at d.android.com/tools/agents.
Community Reactions
- Windows install command fails
- A commenter says the Windows install command returned 404, and a manually downloaded exe gave a socket error.
- Gains limited to initial setup, some say
- One comment notes the claimed gains cover project and environment setup, not daily work in an existing project.
- Another calls it a wrapper around basic setup commands LLMs already handle, with skills offering little beyond migration recipes.
- android docs idea gets praise
- One commenter wants an equivalent like npm docs, since each agent finds docs by blindly grepping.
- Another says Claude guesses at Compose overloads and that a tool exposing source jars to agents is needed.
- Telemetry concerns
- The CLI collects command, subcommand, and flag usage, which --no-metrics disables, and a commenter complains there is no environment variable option.
How to Apply
- Create an empty project with the CLI
- Download Android CLI from d.android.com/tools/agents and run android create to make a template project.
- Compare token usage and time against your usual agent workflow.
- Tell your agent to use android docs
- Add "Don't guess Android APIs; search with android docs" to CLAUDE.md or your system prompt.
- Compare results on Navigation or Compose tasks that used to produce outdated patterns.
- Install Android skills for migrations
- Use the android skills command to pick and install relevant skills like Navigation 3, AGP 9, or XML-to-Compose.
- Keep them in the same folder as your team's own skills.
- Put CLI commands into CI scripts
- Try replacing SDK install and emulator creation steps with android sdk install and android emulator.
- Add the --no-metrics flag before using it in company environments.
Try It
# Paste into Claude Code (after installing Android CLI)
# Instructions using the android create / docs / skills commands from the article
새 Android 앱 프로젝트를 만들어줘.
1. android create로 공식 템플릿 프로젝트를 {{앱 이름}} 이름으로 생성해.
2. android emulator로 가상 기기를 만들고 android run으로 앱을 실행해.
3. 사용할 API나 라이브러리가 불확실하면 추측하지 말고 먼저 android docs로 검색해서 최신 가이드를 확인해.
4. android skills로 {{Navigation 3 설정 / edge-to-edge 등}} 관련 skill이 있으면 설치하고 따라.
각 단계에서 쓴 명령어와 소요 시간을 마지막에 요약해줘.Terminology
Related Papers
Frostbite: A new CPU architecture discovered, designed and verified by AI
AI agents designed a CPU from scratch, claiming 4.59x perf/W over a traditional core
Restricting AI agents in mobile operating systems platforms from capturing data
Signal now blocks OS-level AI agents from reading its screen on iOS 27 and Android
Actions Speak Louder than Words: Stateful Privacy Sniffing of LLM Agents via Behavioral Covert Channels in Web Interactions
Agents' link choices alone let attackers rebuild user queries at F1 0.89; SOR cuts it to 0.39.
Tracking and Limiting Unsupported Claim Propagation in Multi-Agent LLM Systems: A Provenance-Aware Framework
Passing claims with source, evidence and history kept equivalence at 5 agent stages at 96% versus 31%.
LLM assisted reverse engineering
Pointing an agent at binaries with skills and MD notes made years-long hacks feasible
Metrics-in-the-Loop: Complexity Feedback Reshapes Agent-Written Code
Injecting per-turn complexity reports into coding agents cut code erosion without changing correctness
Why is Gemini 4 Carbon taking so long?
Carbon took nearly an hour on bug fixes that Astra and Opus finished in minutes, mostly from extra unrequested work.
Weight-Space Programming builds neural networks like a 1990s researcher
LLM hand-wrote MNIST weights to 91.3%, using 1990s-style techniques