android-cli

Manage Android SDKs, create projects, and deploy apps via CLI.

174|8|Updated Jan 9, 2024
One-click install
npx skills add https://github.com/klxiaoniu/QQVersionList --skill android-cli-klxiaoniu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: android-cli
Source: https://github.com/klxiaoniu/QQVersionList/tree/main/.agents/skills/android-cli
Command: npx skills add https://github.com/klxiaoniu/QQVersionList --skill android-cli-klxiaoniu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Android developers often waste time setting up tooling, managing SDKs, and figuring out the fastest way to inspect devices and project state; this Skill streamlines common Android CLI workflows so you can iterate more quickly and with fewer environment surprises.

Core Features & Use Cases

  • SDK management: Install, update, remove, and list SDK packages to keep environments consistent across machines.
  • Project creation & deployment: Create new projects from templates and run APKs on connected devices.
  • Device and UI inspection: Capture screenshots, dump UI layouts as JSON, and help analyze running apps when UI introspection is difficult.
  • Emulator and automation support: Manage AVDs and provide guidance for running “journeys” tests and Android knowledge-base lookup.

Quick Start

Use the android-cli skill to create an empty activity project named My App 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 manage Android SDK packages using the command line?

You can manage Android SDK packages by running CLI commands to install, update, remove, and list SDK packages, keeping your development environments consistent across different machines.

What is the fastest way to create and deploy an Android app from a template?

Creating and deploying an Android app involves using the CLI to generate a new project from templates and running the APK directly on connected devices for immediate testing and iteration.

How can I inspect an Android device's UI layout when UI introspection is difficult?

You can inspect an Android device's UI layout by using CLI commands to capture screenshots and dump the UI layout as JSON, allowing you to analyze running apps when standard introspection fails.

Does the Android CLI support managing emulators and running automation tests?

Yes, the Android CLI supports managing AVDs to control emulators and provides guidance for running journeys tests and looking up documentation within the Android knowledge base.

What should I use to look up Android API and library guidance during development?

To look up Android API and library guidance, you can use the CLI's documentation search functionality to query the Android knowledge base for accurate API references and library integration instructions.