Repository navigation
Closed
Labels
platform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Latest version of KGP is 2.3.0
https://kotlinlang.org/docs/gradle-configure-project.html#apply-the-plugin
| KGP version | Gradle min and max versions | AGP min and max versions |
|---|---|---|
| 2.3.0 | 7.6.3–9.0.0 | 8.2.2–8.13.0 |
| 2.2.20–2.2.21 | 7.6.3–8.14 | 7.3.1–8.11.1 |
Update maxKnownAndSupportedKgpVersion to 2.3.0.
flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 78 to 82 in ee37b97
| // Update this with new KGP versions come out including minor versions. | |
| // | |
| // Supported here means supported by the tooling for | |
| // flutter analyze --suggestions and does not imply broader flutter support. | |
| const maxKnownAndSupportedKgpVersion = '2.2.20'; |
Update maxKnownAgpVersionWithFullKotlinSupport to 8.13.0.
flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 91 to 95 in ee37b97
| // Update this when new versions of AGP with Kotlin support come out. | |
| // | |
| // Supported here means supported by the tooling for | |
| // flutter analyze --suggestions and does not imply broader flutter support. | |
| const maxKnownAgpVersionWithFullKotlinSupport = '8.11.1'; |
maxKnownAndSupportedAgpVersion is already set to 9.0:
flutter/packages/flutter_tools/lib/src/android/gradle_utils.dart
Lines 84 to 89 in ee37b97
| // Update this when new versions of AGP come out. | |
| // | |
| // Supported here means tooling is aware of this version's Java <-> AGP | |
| // compatibility. | |
| @visibleForTesting | |
| const maxKnownAndSupportedAgpVersion = '9.0'; |
Last bump: #177416
Reacted by Bartek Pacia
Metadata
Metadata
Assignees
Labels
platform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Androidteam-androidOwned by Android platform teamOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
bump KGP and AGP max known versions (#181325)
github-actions commentedon Feb 6, 2026
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.bump KGP and AGP max known versions (flutter#181325)