Document Link
https://flutter.dev/go/android-built-in-kotlin-support
What problem are you solving?
Android Gradle Plugin (AGP) 9.0 introduces a significant breaking change for Flutter apps by enabling Built-in Kotlin support by default. Because of this new default behavior, explicitly applying the Kotlin Gradle Plugin (KGP) will cause your build to fail. This failure will occur whether KGP is applied directly by your Flutter app itself and/or indirectly through any Android-native plugin(s) your app integrates. This means migration to Built-in Kotlin is required for any Flutter apps and Android-native plugin(s) that apply KGP.
Document Link
https://flutter.dev/go/android-built-in-kotlin-support
What problem are you solving?
Android Gradle Plugin (AGP) 9.0 introduces a significant breaking change for Flutter apps by enabling Built-in Kotlin support by default. Because of this new default behavior, explicitly applying the Kotlin Gradle Plugin (KGP) will cause your build to fail. This failure will occur whether KGP is applied directly by your Flutter app itself and/or indirectly through any Android-native plugin(s) your app integrates. This means migration to Built-in Kotlin is required for any Flutter apps and Android-native plugin(s) that apply KGP.