chore(android)!: bump AGP to 9.2.0 and Gradle to 9.5.1#8498
Open
OS-ruimoreiramendes wants to merge 3 commits into
Open
chore(android)!: bump AGP to 9.2.0 and Gradle to 9.5.1#8498OS-ruimoreiramendes wants to merge 3 commits into
OS-ruimoreiramendes wants to merge 3 commits into
Conversation
jcesarmobile
reviewed
Jun 3, 2026
Member
jcesarmobile
left a comment
There was a problem hiding this comment.
latest plugin is 9.2.1
the gradle-wrapper.jar, gradlew and gradle.bat files also need to be updated to gradle 9.5.1, not just the properties file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bump the Android Gradle Plugin from
8.13.0to9.2.0and the Gradle wrapper from8.14.3to9.5.1Change Type
Rationale / Problems Fixed
Keep Capacitor 9 on the latest stable toolchain.
Refs: RMET-4709
Tests or Reproductions
npm run buildincli/: TypeScript compilesnpm run verifyinandroid/: BUILD SUCCESSFULassembleReleaseand unit tests: BUILD SUCCESSFULnpx cap add android) and built it: BUILD SUCCESSFUL with AGP9.2.0/ Gradle9.5.1Platforms Affected
Notes / Comments
-bflag replacementGradle 9 removed
-b/--build-file(see upgrade guide). Theverifyscript inandroid/package.jsonandscripts/publish-android.shnow use qualified task paths (:capacitor-android:<task>) to keep the same scope.