Bump AGP 9.2.0 to 9.2.1 (R8 ClassNotFoundException fix)#334
Merged
Conversation
AGP 9.2.1 fixes java.lang.ClassNotFoundException on com.android.tools.r8.RecordTag after upgrading Gradle to 9.x with AGP 9.2.0. Both android-llmservice and .github/android-consumer-test run R8 (isMinifyEnabled = true) in their release builds, so this is a real, not hypothetical, regression for this project. Updates the pinned plugin version in both settings.gradle.kts files and the matching CLAUDE.md/README.md notes (also fixing stale "Kotlin 2.4.0" wording left over from the built-in-Kotlin migration). Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_015qu2VUdHXRhp6ndxJGkxri
bernardladenthin
had a problem deploying
to
maven-central
July 11, 2026 12:54 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
maven-central
July 11, 2026 12:54 — with
GitHub Actions
Failure
bernardladenthin
had a problem deploying
to
startgate
July 11, 2026 12:54 — with
GitHub Actions
Error
|
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.



Summary
com.android.applicationfrom9.2.0→9.2.1in bothandroid-llmservice/settings.gradle.ktsand.github/android-consumer-test/settings.gradle.kts.java.lang.ClassNotFoundException: Didn't find class "com.android.tools.r8.RecordTag"after upgrading Gradle to 9.x with AGP 9.2.0.android-llmserviceand.github/android-consumer-testrun R8 (isMinifyEnabled = true) in their release build type, and CI already runs Gradle 9.4.1 for these jobs (from Upgrade AGP to 9.2.0 and Gradle to 9.4.1; update dependencies #331/Remove org.jetbrains.kotlin.android plugin for AGP 9 built-in Kotlin support #333).android-llmservice/README.mdleft over from the built-in-Kotlin migration in Remove org.jetbrains.kotlin.android plugin for AGP 9 built-in Kotlin support #333 (Kotlin is no longer a separately-applied/versioned plugin — only the Compose compiler plugin is).developer.android.comrelease-notes pages — all are already at the latest stable version.Test plan
isMinifyEnabledrelease-build steps inpackage-android-aarandbuild-android-llmserviceRelated issues / PRs
Follow-up to #331 (AGP 8.7.3 → 9.2.0) and #333 (built-in Kotlin migration).
Checklist
CONTRIBUTING.mdandCODE_OF_CONDUCT.mdhttps://claude.ai/code/session_015qu2VUdHXRhp6ndxJGkxri
Generated by Claude Code