Android CLI
by Google
Official listing: built and published by Google. More from Google
Gives coding agents and scripts one command-line entry point to set up the Android SDK, scaffold, build, and run apps, manage devices, and profile performance.
Use it now
Keep it with up to 9 other tools you're setting up, then share them all as one link.
Try this first
Ask your coding agent:
- Set Up SDK And Scaffold Projects
Use Android CLI to automate Android SDK and environment setup: ‹what you need›
- Build And Run On Devices
Use Android CLI to build apps on connected devices or emulators: ‹what you need›
- Render Compose Previews
Use Android CLI to render Jetpack Compose previews to images on your machine: ‹what you need›
Install the CLI
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bash
Setup guide: developer.android.com/tools/agents/android-cli
Compare
Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.
- Access
- CLI
- Auth
- None
- Skills
- 5
Skills
Set Up SDK And Scaffold Projects
Automates Android SDK and environment setup and scaffolds new projects from templates.
Build And Run On Devices
Builds, installs, and runs apps on connected devices or emulators, manages virtual devices, and inspects live screens and UI hierarchies.
Render Compose Previews
Renders Jetpack Compose previews to images on your machine, with no device or Android Studio required.
Profile And Analyze Apps
Records system traces and heap dumps, and reports APK and app bundle sizes, R8 optimization metrics, and keep rule warnings.
Investigate Field Crashes
Investigates crashes, ANRs, and non-fatal issues that Firebase Crashlytics reports for your app, including out-of-memory heap dumps.