android-studio

android-studio is a skill for Claude Code from alivirgo/Major-AI-Skills. It costs 32 tokens per session (819 once invoked), scanned A, original, MIT.

An operational guide for building and troubleshooting Android apps in Android Studio, the development program for Android. It covers Gradle builds, emulators, SDK versions, signing, and Logcat, which is Android's system log.

In plain words
What is it for?
Use it to create or import Android projects, fix build failures, configure debug and release variants, test on virtual devices, and investigate crashes.
Why use it?
It helps agents diagnose version mismatches, crashes, and device-specific problems without guessing. It also keeps signing credentials out of source control.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the major-ai-skills plugin — 147 skills, 7 plugins shipped together

Good fit Use it to create or import Android projects, fix build failures, configure debug and release variants, test on virtual devices, and investigate crashes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alivirgo/major-ai-skills/android-studio
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alivirgo/Major-AI-Skills --skill android-studio
Clone the repo
git clone --depth 1 https://github.com/alivirgo/Major-AI-Skills

Made for: Claude Code.

Or install major-ai-skills, the plugin that ships this one along with the rest of its 147 skills, 7 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for android-studio

README.md
[![agentmods](https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/android-studio/github.svg)](https://agentmods.dev/skills/alivirgo/major-ai-skills/android-studio)
Your own site
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/android-studio"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/android-studio/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for android-studio

Your own site · 80×15
<a href="https://agentmods.dev/skills/alivirgo/major-ai-skills/android-studio"><img src="https://agentmods.dev/badge/skills/alivirgo/major-ai-skills/android-studio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00819
Opus 5 $0.00016 $0.00409
Sonnet 5 $0.00006 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured yesterday against content hash 48451722a7ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

android-studio scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/android-studio/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Android Studio IDE AI Skill Guide

Overview & Engine Architecture

Android Studio (IntelliJ-based) manages Android Gradle Plugin (AGP) projects, SDK platforms, emulators (AVD), and profiling tools. Builds flow through Gradle tasks into APK/AAB artifacts. Agents align JDK, AGP, and compileSdk/targetSdk, use build variants for debug/release, and diagnose failures via Build Analyzer and Logcat rather than guessing.

Android Studio
  -> Gradle (AGP)
      -> compile / package
          -> APK or AAB
  -> AVD / device
      -> Logcat / Profiler

When to use this skill

  • Creating or importing Android/Gradle apps
  • Fixing SDK, JDK, or AGP version mismatches
  • Configuring product flavors and signing
  • Debugging crashes with Logcat and breakpoints

Operational directives

  1. Match JDK version to AGP requirements (often JDK 17 for modern AGP).
  2. Bump compileSdk/targetSdk deliberately; read behavior changes for the new API level.
  3. Keep keystore paths and passwords out of VCS - use env or local keystore.properties.
  4. Prefer App Bundle (AAB) for Play uploads.
  5. Reproduce device-only bugs on an AVD/API level close to the crash report.

Gradle sketch (app/build.gradle.kts fragment)

android {
  namespace = "com.example.inventory"
  compileSdk = 35

  defaultConfig {
    applicationId = "com.example.inventory"
    minSdk = 26
    targetSdk = 35
    versionCode = 3
    versionName = "1.2.0"
  }

  buildTypes {
    release {
      isMinifyEnabled = true
      proguardFiles(
        getDefaultProguardFile("proguard-android-optimize.txt"),
        "proguard-rules.pro"
      )
    }
  }
}

Commands

./gradlew assembleDebug
./gradlew bundleRelease
./gradlew test
adb logcat -c && adb logcat *:E

Common pitfalls

Pitfall Why it hurts Fix
Wrong JDK for AGP Cryptic Gradle errors Install/select correct JDK
Committing keystores Security incident gitignore + CI secrets
Ignoring API behavior changes Prod regressions Read platform notes
Emulator-only testing Hardware surprises Device farm / real devices

Read the full file on GitHub · 106 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +1 tokens per session 48451722a7ee
  2. 6d ago First seen · 106 lines · 31 tokens per session scan A 20d5f4700c64

Subscribe to this mod's changes

android-studio is a skill published in the GitHub repository alivirgo/Major-AI-Skills (1 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 819 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

Other skills, from other repositories

android-ui-verification-v2

Android UI Verification Skill workflow skill. Use this skill when the user needs Automated end-to-end UI testing and verification on an Android Emulator using ADB and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 57 tokens

android-ui-verification

Android UI Verification Skill workflow skill. Use this skill when the user needs Automated end-to-end UI testing and verification on an Android Emulator using ADB and the operator should preserve the upstream workflow, copied support files, and provenance before merging or handing off.

diegosouzapw/awesome-omni-skills · 55 tokens

android-playstore-builder

Build, sign, and publish Android apps to Google Play Store. Covers AAB builds, signing configs, Play Console, staged rollouts, and automated CI/CD.

AtulPurohit/Antigravity-Awesome-Skills · 38 tokens

compose-multiplatform

Use when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform ViewModel/navigation/Koin. NOT a single-platform native build (that is kotlin-android / swift-ios), and NOT Dart/Flutter cross-platform UI…

ericrisco/rsc-harness · 80 tokens

kotlin-android

Use when building or fixing a native Android app in Kotlin and Jetpack Compose on the UDF layered architecture — ViewModel/StateFlow, Hilt, Room, Retrofit, coroutines, type-safe Navigation, and the Gradle/AGP surface. NOT shared Android and iOS UI from one Kotlin codebase (that is compose-multiplatform).

ericrisco/rsc-harness · 78 tokens

modify-feature

Modify existing KMP features with spec-first workflow. Invoke with /modify-feature.

ThisIsSadeghi/KMPilot · 16 tokens