agp-9-upgrade

Upgrade Android projects to AGP 9 and migrate build scripts to the new plugin architecture.

127|8|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/hanamizuki/solopreneur --skill agp-9-upgrade-hanamizuki
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agp-9-upgrade
Source: https://github.com/hanamizuki/solopreneur/tree/main/plugins/android-dev/skills/agp-9-upgrade
Command: npx skills add https://github.com/hanamizuki/solopreneur --skill agp-9-upgrade-hanamizuki

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Upgrades Android projects to AGP 9 and migrates build configuration to align with the new plugin architecture. Do not use this skill for migrating Kotlin Multiplatform (KMP) projects.

Core Features & Use Cases

  • Upgrade the Android Gradle Plugin version to AGP 9 and migrate to the new DSL.
  • Update Kotlin/KSP usage, adjust BuildConfig fields, and resolve compatibility with Gradle tooling.
  • Follow a guided migration path with checks and references to the AGP 9 release notes.

Quick Start

Run the AGP 9 upgrade steps on your Android project and follow the migration guide.

Frequently Asked Questions about agp-9-upgrade

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

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

To upgrade to AGP 9, this Skill guides you through a stepwise migration workflow, including Gradle DSL updates, Kotlin/KSP adjustments, and BuildConfig changes. It enforces compatibility checks to ensure a safe, rollback-friendly migration to the new plugin architecture.

Can I use this AGP 9 migration guide for Kotlin Multiplatform projects?

No, you cannot use this AGP 9 migration guide for Kotlin Multiplatform (KMP) projects. The Skill is explicitly designed to upgrade standard Android projects and migrate their build scripts and dependencies to the new plugin architecture.

What changes to BuildConfig and KSP are needed when migrating to AGP 9?

Migrating to AGP 9 requires updating Kotlin/KSP usage and adjusting BuildConfig fields to align with the new Gradle DSL. The Skill applies compatibility checks and resolves tooling dependencies to ensure the build scripts function correctly.

How do I ensure a safe rollback when updating to the Android Gradle Plugin 9?

To ensure a safe rollback when updating to the Android Gradle Plugin 9, the Skill enforces compatibility checks and guides you through a stepwise upgrade process. This approach secures your build configuration during the migration to the new architecture.

Does this Skill support Android projects using older AGP versions below 9?

Yes, this Skill supports Android projects using any AGP versions below 9. It applies a full migration workflow that upgrades the build configuration to the new plugin architecture and references the AGP 9 release notes.