android-cli

Orchestrates Android project creation, SDK management, device interaction, and documentation search via the android CLI.

1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/kariemSeiam/android-claw --skill android-cli-kariemseiam
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: android-cli
Source: https://github.com/kariemSeiam/android-claw/tree/main/skills/installed/devtools-android-cli
Command: npx skills add https://github.com/kariemSeiam/android-claw --skill android-cli-kariemseiam

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Android development involves juggling SDK packages, emulators, device deployment, UI inspection, and documentation lookup across many separate tools. This Skill consolidates those workflows into the unified android command-line tool so an AI agent can perform them directly. ## Core Features & Use Cases - SDK & Emulator Management: Install, update, and remove SDK packages, and create, start, stop, or delete Android Virtual Devices. - Project & App Lifecycle: Create projects from templates, deploy APKs to devices, and capture screenshots or UI layout trees for debugging. - Documentation & Journeys: Search the Android Knowledge Base for up-to-date API guidance and execute XML-defined journey tests against a running app. - Use Case: Ask the agent to create a new empty-activity project, install the required SDK platform, launch an emulator, deploy the app, and verify the UI layout — all through one CLI. ## Quick Start Use the android CLI to create a new empty-activity project named My App and list the available SDK packages.

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?▼

Use the android create command with a template name, for example: android create empty-activity --name="My App" --output=./my-app. You can list all available templates with android create --list and set a minimum SDK level with --minSdk.

How to install and manage Android SDK packages with a CLI?▼

Use the android sdk command group: android sdk install <package>[@<version>] installs packages, android sdk update refreshes one or all packages, android sdk remove deletes a package, and android sdk list --all shows installed and available packages.

How do I inspect an Android app's UI layout without a screenshot?▼

Run android layout to get a flat JSON list of UI elements with properties like text, resourceId, bounds, and interactions. Use android layout --diff to see only elements that changed since the last call, which keeps output small.

Can I run automated UI tests on an Android app using XML?▼

Yes, journeys are XML-specified tests containing sequential action elements that describe UI interactions and verifications. Each action is evaluated in order, and the journey fails if any action fails, the app crashes, or an expectation is not met.

Why does android layout fail on some screens?▼

The layout command can fail when the app displays a WebView or an animation, since web content does not always appear in the UI dump. In those cases use android screen capture --annotate to inspect the screen visually instead.

How do I search official Android developer documentation from the CLI?▼

Use the android docs search command with keywords to query the Android Knowledge Base for authoritative articles, migration guides, and API examples. The android docs fetch command retrieves specific documentation content.