g1joshi/agent-skills/android-studio
Claude Code and agent skill by g1joshi/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Expert Android Studio IDE assistance covering Gradle sync, Logcat, Layout Inspector, SDK Manager, and virtual devices (AVD). Use when developing native Android applications with Kotlin or Java.
Install
npx vskill@latest install g1joshi/agent-skills/android-studioSKILL.md
The same SKILL.md was published earlier as g1joshi/agent-skills/android-studio.
Android Studio
Android Studio is the official integrated development environment (IDE) for Android application development, built on IntelliJ IDEA with rich profiling and emulator tools.
When to Use
- Native Android & Jetpack Compose Development: Official Google IDE with visual layout editor, Compose preview, and Profiler.
- Gradle Build Script Optimization: Configuring multi-module build logic with Kotlin DSL (
build.gradle.kts). - Android Emulator & Device Management: Running virtual and physical devices via ADB and headless emulator CLI.
- App Performance & Memory Profiling: Diagnosing frame drops, memory leaks, and CPU spikes using Android Studio Profiler.
Quick Start
Core Concepts
Jetpack Compose Preview & UI Inspection
Authoring declarative UI with multi-device previews:
Modern Gradle Build Configuration (build.gradle.kts)
Multi-module build setup with version catalogs:
Headless Emulator & ADB Operations
Managing testing devices from command line:
Common Patterns
Gradle Build Cache and Memory Optimization
Problem: Slow Gradle build and sync times inside Android Studio.
Solution: Configure build properties in gradle.properties:
Best Practices
Do:
- Migrate build scripts to Kotlin DSL (
build.gradle.kts) and Gradle Version Catalogs (libs.versions.toml). - Enable R8 code shrinking and resource minification (
isMinifyEnabled = true) on release builds. - Utilize Android Studio Profiler (CPU, Memory, Energy) before pushing production releases.
- Allocate sufficient heap memory to the Gradle daemon in
gradle.properties(org.gradle.jvmargs=-Xmx4096m).
Don't:
- Leave debug signing credentials in open repositories; inject keystores via environment variables.
- Run heavy unit tests on the Android Emulator if pure JVM unit tests (
src/test) suffice. - Ignore Lint warnings; configure
lint { abortOnError = true }in CI.
Troubleshooting
| Error | Cause | Solution | |
|---|---|---|---|
Gradle sync failed: Connection timed out | Proxy, firewall, or Gradle wrapper downloading over slow network. | Check offline work in Gradle settings or use pre-downloaded wrapper. | |
Installed Build Tools revision is corrupted | Incomplete download of Android SDK Build Tools. | Open SDK Manager, uninstall affected Build-Tools version, and reinstall. | |
Emulator: Process crashed with exit code 139 | Hardware acceleration (HAXM/Hypervisor) conflict or GPU driver issue. | Change Emulator settings > Emulated Performance: Graphics to 'Software'. |
References
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/tools/android-studio/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/g1joshi/agent-skills/android-studio)