Index of every page on this site: llms.txt
All skills
android avatar

/agp-9-upgrade

@7f7b217
by androidandroid/skills11k stars
703
Run it yourself

Upgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9. Do not use this skill for migrating Kotlin Multiplatform (KMP) projects.

Use this Skill: https://skilld.dev/gh/android/skills/agp-9-upgrade

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencespaparazzi-gradle-9.md

≈290 tokens on demand. Your agent reads this file only when SKILL.md points to it.

If Paparazzi is used in the project, update it to version 2.0.0-alpha04 or higher.

Paparazzi version 2.0.0-alpha04 and lower is not fully compatible with Gradle 9, and Gradle 9 is required by AGP 9. This means that, without workarounds, projects that use Paparazzi v2.0.0-alpha04 and lower cannot migrate to AGP 9.

At time of writing, there are no higher versions of Paparazzi. That is, v2.0.0-alpha04 is the latest release.

The issue is due to Paparazzi using internal classes from Gradle that tend to move in breaking ways without warning. This specific issue is related to HTML test reports. To work around it, disable those HTML test reports. Here are two examples of how to do this, one for Kotlin DSL and the other for Groovy DSL. Any module that has the paparazzi plugin (app.cash.paparazzi) applied must apply one of these two workarounds.

Kotlin DSL:

tasks.withType<Test>().configureEach {
  // https://github.com/cashapp/paparazzi/issues/2111
  reports.html.required = false
}

Groovy DSL:

tasks.withType(Test).configureEach {
  // https://github.com/cashapp/paparazzi/issues/2111
  reports.html.required = false
}

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alertstoday3 checks · Risk SAFE
  • Gen Agent Trust Hubtoday

    The skill upgrades Android projects to AGP 9. It executes build commands and reads dependency files from the local Gradle cache to perform upgrades, so ensure the project being upgraded is from a trusted source.

  • Socket6d

    No alerts

  • Snyktoday

    Risk: LOW · No issues

Signed by skilld at 7f7b217. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 hours ago.

Activeupdated yesterday
Other metadata
metadata
{
  "author": "Google LLC",
  "last-updated": "2026-11-21",
  "keywords": [
    "Android Gradle Plugin 9",
    "AGP 9",
    "AGP Upgrade",
    "AGP Migration",
    "New AGP DSL",
    "Migrate to built-in Kotlin"
  ]
}

README badge

README badge for android/skills/agp-9-upgrade