android-cli

Manage Android development workflows via the android command-line interface.

Updated Sep 4, 2025
One-click install
npx skills add https://github.com/ykai55/dotfiles --skill android-cli-ykai55
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-cli
Source: https://github.com/ykai55/dotfiles/tree/main/opencode/skills/android-cli
Command: npx skills add https://github.com/ykai55/dotfiles --skill android-cli-ykai55

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It helps you create, deploy, debug, and maintain Android projects without juggling multiple tools and guesswork about environment setup.

Core Features & Use Cases

  • SDK management: Install, update, remove, and list Android SDK packages and tools with the android sdk command.
  • Project creation: Generate new Android projects from templates using android create for consistent setup.
  • Build, run, and device workflows: Deploy APKs, manage emulators (AVDs), and capture or inspect UI via android run, android emulator, android screen, android layout, and screenshot/resolve flows.
  • Documentation & diagnostics: Search Android Knowledge Base docs via android docs and inspect environment details with android info.

Quick Start

Use the android-cli skill to create a project from an Android template by running: android create empty-activity --name="My App" --output=./my-app

Frequently Asked Questions about android-cli

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

FAQPage Schema
How do I create a new Android project from the command line?

To create an Android project from the command line, use the `android create` command with a template like `empty-activity` and specify the project name and output directory for consistent app setup.

How do I install and manage Android SDK packages using CLI?

Manage Android SDK packages by using the `android sdk` command to install, update, remove, and list required SDK tools and packages directly from your terminal environment.

Can I deploy an APK and control an Android emulator from the terminal?

Yes, you can deploy APKs and control Android emulators from the terminal using the `android run` and `android emulator` commands to manage AVDs and launch applications on devices.

What is the best way to inspect Android UI layouts and capture screenshots?

Inspect Android UI layouts and capture screenshots using the `android layout` and `android screen` commands to diagnose rendering issues and resolve visual elements on targeted devices.

Does Android CLI require Android Studio for project creation and deployment?

Android CLI does not require Android Studio; it manages project creation, deployment, and SDK maintenance independently using `android` subcommands, allowing you to build apps without juggling multiple tools.

How do I search Android documentation and diagnostics from the command line?

Search Android documentation and inspect environment diagnostics by running the `android docs` command to query the knowledge base and `android info` to retrieve local setup details.