agp-9-upgrade
Migration guide
See the AGP 9 migration guide for the major changes, many breaking, in AGP 9 compared to AGP 8.
Requirements
If the user requests to update or migrate to AGP 9, first check the AGP version used in the project. If it is lower than 9, stop and ask the user to run the AGP Upgrade Assistant in Android Studio to update to the latest stable version of AGP, and confirm when done. The user may also request that this requirement be skipped; if this is the case, you should update the version of AGP to the latest stable version as part of the AGP 9 migration. See the AGP 9 migration guide for how to do this.
Each version of AGP has its own set of compatibilities with other tools, such as Gradle, JDK, and Kotlin. The release notes for each of these versions will include a Compatibility table indicating the minimum versions for these tools.
More from android/skills
r8-analyzer
Analyzes Android build files and R8 keep rules to identify redundancies,
335navigation-3
Learn how to install and migrate to Jetpack Navigation 3, and how to
329edge-to-edge
Use this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge
308migrate-xml-views-to-jetpack-compose
Provides a structured workflow for migrating an Android XML View to Jetpack
298play-billing-library-version-upgrade
Use this skill when upgrading or migrating an Android project from any
237display-ai-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected applications for Android
87