android-app-development

Scaffold and build native Android apps with Kotlin and Jetpack Compose from the command line.

Updated May 28, 2026
One-click install
npx skills add https://github.com/patty-chow/the-stable --skill android-app-development-patty-chow
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: android-app-development
Source: https://github.com/patty-chow/the-stable/tree/main/skills/software-development/android-app-development
Command: npx skills add https://github.com/patty-chow/the-stable --skill android-app-development-patty-chow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Building a native Android app normally requires Android Studio and a GUI, which blocks terminal-only or agent-driven workflows. This Skill provides a complete no-sudo, no-IDE path: toolchain setup from zero, Gradle build pitfalls, and staged build-verify guidance for Kotlin + Jetpack Compose apps. ## Core Features & Use Cases - Toolchain from zero: Installs JDK 17 (brew formula), Android cmdline-tools, SDK packages, and the Gradle wrapper without sudo or Android Studio, with a ready-to-source env script. - Build pitfall guidance: Covers KSP vs annotationProcessor for Room, AutoMirrored Material icons, compose-bom version pinning, and emulator-to-host networking via 10.0.2.2 with cleartext config. - Camera and photo patterns: Provides working code for system-camera capture, gallery import, EXIF timestamps, burned-in overlay stamps, and dependency-free multipart upload. - Use Case: You need a field app that captures photos, stamps them with date and location, stores them offline in Room, and uploads them to a backend — all scaffolded and build-verified stage by stage from a terminal. ## Quick Start Ask the agent to scaffold a new native Android app with Kotlin and Jetpack Compose and verify it builds with assembleDebug.

Frequently Asked Questions about android-app-development

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

FAQPage Schema
How do I build an Android app from the command line without Android Studio?▼

Install JDK 17 via the brew formula, download Android cmdline-tools into ~/Library/Android/sdk, install platform-tools and build-tools with sdkmanager, then use the Gradle wrapper to run assembleDebug. No sudo or IDE is required.

How do I set up Room database in a Kotlin Android project?▼

Room with Kotlin requires KSP, not annotationProcessor, which only runs for Java. Add the com.google.devtools.ksp plugin with a version matching your Kotlin version exactly, and declare the Room compiler with ksp().

Why does my Android emulator fail to reach my local backend?▼

The emulator reaches the host machine at http://10.0.2.2:<port>, not localhost, which refers to the emulator itself. HTTP is also blocked by default on API 28+, so add a network_security_config.xml permitting cleartext to that address.

Should I use CameraX or system intents for photo capture in Android?▼

For capture, ActivityResultContracts.TakePicture with a FileProvider URI plus PickVisualMedia for gallery import is simpler and more reliable than a custom CameraX preview. CameraX libraries can still be included for later needs.

Does a successful assembleDebug build mean the Android app works?▼

No. A green assembleDebug only proves the code compiles, not that it runs correctly. Runtime and device behavior remain unverified until the app runs on an emulator or a real device.