agp-9-upgrade

Upgrade Android Gradle Plugin to version 9 in Android projects.

Updated Jan 2, 2026
One-click install
npx skills add https://github.com/tanaka-mambinge/dotfiles --skill agp-9-upgrade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agp-9-upgrade
Source: https://github.com/tanaka-mambinge/dotfiles/tree/main/ai-configs/skills/agp-9-upgrade
Command: npx skills add https://github.com/tanaka-mambinge/dotfiles --skill agp-9-upgrade

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Upgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9.

Core Features & Use Cases

  • Step-by-step migration guidance to AGP 9, including Kotlin built-in integration, DSL migration, and build tooling updates.
  • Verification and troubleshooting steps to ensure a successful transition across Gradle, JVM/Kotlin versions, and project configurations.
  • Use Case: When upgrading a large Android app, follow this Skill to migrate plugins, dependencies, and Gradle scripts to AGP 9 while keeping project behavior intact.

Quick Start

Initiate AGP 9 upgrade by following the official migration guides and run the AGP Upgrade Assistant in Android Studio.

Frequently Asked Questions about agp-9-upgrade

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

FAQPage Schema
How do I migrate my Android project to AGP 9?

Migrate to AGP 9 by following step-by-step guidance for DSL migration, BuildConfig updates, and Gradle properties, then run the AGP Upgrade Assistant in Android Studio to apply changes.

What changes are required for Gradle DSL when upgrading to AGP 9?

Upgrading to AGP 9 requires Gradle DSL migration and Kotlin built-in integration updates to ensure your build scripts align with the new plugin version's syntax and features.

Can I use AGP 9 migration steps for both Android apps and libraries?

Yes, the AGP 9 migration process applies to both Android apps and libraries transitioning from AGP 8.x, ensuring compatibility across different project configurations and module types.

What is the best way to verify a successful AGP 8 to 9 upgrade?

Verify an AGP 9 upgrade by running specific troubleshooting and verification steps that check compatibility across Gradle, JVM, Kotlin versions, and project configurations to ensure intact behavior.

Why does my Kotlin build fail after the AGP 9 upgrade?

Kotlin build failures after an AGP 9 upgrade often stem from incompatible JVM or Kotlin versions, requiring you to follow troubleshooting references to align build tooling and dependencies.