Repository navigation
chore(example): update Android build to Gradle 9.9.2 and AGP 9.3.1 - #1070
Merged
Merged
Conversation
Flutter 3.50 requires Gradle 9.3.1 or newer, so the example's Android build failed on stable with Gradle 9.1.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)
Build fix for the example app (maintenance).
On Flutter stable (3.50.1), the "Build Android App" job fails on
mainand on every open PR: "Your project's Gradle version (9.1.0) is lower than Flutter's minimum supported version of 9.3.1".🆕 What is the new behavior (if this is a feature change)?
The example uses Gradle 9.9.2 and AGP 9.3.1, the AGP version Flutter 3.50.1 recommends, and builds again. The package version goes to 4.1.1 with a CHANGELOG entry, because 4.1.0 is already tagged.
💥 Does this PR introduce a breaking change?
No
🐛 Recommendations for testing
flutter build apk --releasein the example succeeds on 3.50.1.flutter analyzeandflutter testforcached_network_imagepass on 3.50.1.material_ui ^1.3.0needs Dart 3.13, sopub getfails there, and it fails the same way onmain. The pubspec floorflutter: '>=3.44.0'is out of date. That needs its own fix and is not part of this PR.📝 Links to relevant issues/docs
Same fix as Baseflow/flutter-geocoding#341. Linear FPL-48 / FPL-60.
🤔 Checklist before submitting
🤖 Generated with Claude Code