android-cli

Orchestrate Android development tasks from the command line.

4|Updated Aug 18, 2016
One-click install
npx skills add https://github.com/esafirm/dotfiles --skill android-cli-esafirm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-cli
Source: https://github.com/esafirm/dotfiles/tree/main/.gemini/skills/android-cli
Command: npx skills add https://github.com/esafirm/dotfiles --skill android-cli-esafirm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes friction from Android development by centralizing project setup, SDK management, device control, deployment, and diagnostics in one command-line workflow.

Core Features & Use Cases

  • Project Creation: Start new Android apps from templates with consistent defaults.
  • SDK and Environment Management: Install, update, remove, and inspect SDK packages and local environment settings.
  • Device and Emulator Operations: Create, start, stop, and list emulators, then run apps on connected devices.
  • UI Inspection and Debugging: Capture screenshots, inspect layout trees, and analyze app state for faster troubleshooting.
  • Documentation Lookup: Search authoritative Android documentation to stay current on APIs, libraries, and best practices.

Quick Start

Use the android-cli skill to create an Android project named My App in ./my-app and prepare the environment for running it.

Frequently Asked Questions about android-cli

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

FAQPage Schema
How do I manage Android SDK packages and environment settings from the command line?

Android SDK management from the command line involves installing, updating, removing, and inspecting packages. This Skill orchestrates these tasks to streamline local environment settings and ensure your development setup is ready for project creation and deployment.

Can I create and deploy an Android app to an emulator using CLI?

Yes, you can create Android projects from templates and deploy them to emulators using CLI. This workflow manages emulator creation, starting, stopping, and listing, allowing you to run apps on connected devices deterministically.

How do I inspect Android layouts and capture screenshots for debugging via CLI?

Android UI inspection and debugging via CLI lets you capture screenshots and inspect layout trees. This streamlines troubleshooting app state and analyzing visual output directly from the command line without IDE dependencies.

Do I need the Android CLI and SDK tooling installed to run command line Android tasks?

Yes, executing deterministic Android development operations from the command line requires the android CLI, access to Android SDK tooling, and device or emulator connectivity to function properly.

What is the best way to search official Android documentation from the terminal?

Searching official Android documentation from the terminal is handled by looking up authoritative APIs, libraries, and best practices. This Skill performs documentation lookup to keep your development workflow current without leaving the command line.

Why use a command line workflow for Android project setup and device management?

A command line workflow for Android project setup removes friction by centralizing SDK management, device control, deployment, and environment diagnostics in one place, ensuring consistent defaults and deterministic operations across projects.