Google has introduced a new Android command-line interface built specifically for AI agents, claiming a 70 percent cut in token usage and three times reduction in task completion time.
Using the Android CLI with Google Gemini to build and test an Android application (from official Google video) (click to enlarge)
(from official Google video) (click to enlarge)
The primary Android development environment remains Android Studio, which has built-in support for AI agents, but the new CLI means that agents working outside Android Studio can more easily build Android applications. The CLI is not a replacement for Android Studio, and applications built with the CLI can also be opened in the IDE (integrated development environment).
"You can start a prototype quickly with an agent using Android CLI and then open the project in Android Studio to fine-tune your UI," states the introductory post.The CLI itself is not powered by AI and is also suitable for use by scripts and other automation tools, or by developers who prefer working in a code editor rather than a full IDE.Installing the Android CLI, available for Apple silicon, AMD64 Linux and AMD64 Windows, enables the android command, with arguments for creating applications from templates, installing and managing the Android SDK and device emulators, and finding and listing Android skills, these being instruction files which assist agents to perform specific tasks. There is also a "describe" argument, which analyzes a project and generates descriptive metadata; and a "docs" argument, which searches and fetches documentation from the Android knowledge base.






