android-cli

Automate Android SDK management, emulator lifecycle, and APK deployment via CLI.

8|1|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/drewid74/ai_skills --skill android-cli-drewid74
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-cli
Source: https://github.com/drewid74/ai_skills/tree/main/android-cli
Command: npx skills add https://github.com/drewid74/ai_skills --skill android-cli-drewid74

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Android development often stalls on repetitive CLI tasks like SDK setup, emulator lifecycle management, and deploying APKs, which wastes time and introduces avoidable setup mistakes.

Core Features & Use Cases

  • SDK and tooling management: install, update, remove, and list SDK packages and targets needed for builds and emulator runtime.
  • Project scaffolding & analysis: create Android projects from templates and describe an existing project to locate build artifacts.
  • Device & emulator operations: create, start, stop, list, and remove AVDs, then run apps, capture screenshots, and inspect UI layouts for faster debugging.
  • Android Knowledge Base lookup: search or fetch authoritative Android documentation to keep implementations current.
  • Android CLI specialist workflows: run, screen capture, layout tree inspection, and manage the Android-specific “skills” environment.

Use case: You need to spin up an emulator, install/update required SDK components, scaffold an app, deploy an APK to a device, and then capture the UI layout tree to debug a rendering issue quickly.

Quick Start

Use the android-cli skill to run Android SDK setup, emulator creation/start, and APK deployment for your app.

Frequently Asked Questions about android-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Android emulator creation and APK deployment from the command line?

You can automate Android emulator creation and APK deployment by using command-line orchestration to manage AVD lifecycles, target devices via serial numbers, and run APKs directly. This handles SDK setup, emulator startup, and app installation sequentially.

Can I install Android SDK packages and list build targets without Android Studio?

Yes, you can install, update, remove, and list Android SDK packages and build targets entirely without Android Studio. The command-line tool manages SDK components and lists available targets required for builds and emulator runtime.

What is the best way to inspect an Android UI layout tree for debugging rendering issues?

The best way to inspect an Android UI layout tree is by capturing the hierarchy in JSON format. This allows you to examine the layout structure programmatically, identifying rendering issues quickly through consistent outputs designed for downstream debugging tools.

How do I scaffold a new Android project from templates using CLI?

You can scaffold a new Android project from templates using the android command-line tool. It creates the project structure from templates and can also describe existing projects to locate build artifacts for deployment.

Can I search official Android documentation directly from the terminal?

Yes, you can search or fetch authoritative Android documentation directly from the terminal. The Knowledge Base lookup feature searches official docs to keep your implementations current without leaving the command-line environment.