Summary
Flutter apps are adopting AGP 9 with android.builtInKotlin=true and android.newDsl=true. This plugin’s Android module currently uses the legacy Kotlin setup (e.g. apply plugin: 'org.jetbrains.kotlin.android'), which is deprecated under AGP 9 and can clash with built-in Kotlin on the app project.
Ask
Please migrate the Android Gradle integration per Flutter’s built-in Kotlin guidance for plugin authors:
https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
References
Happy to help test with a prerelease / branch once available.
Summary
Flutter apps are adopting AGP 9 with
android.builtInKotlin=trueandandroid.newDsl=true. This plugin’s Android module currently uses the legacy Kotlin setup (e.g.apply plugin: 'org.jetbrains.kotlin.android'), which is deprecated under AGP 9 and can clash with built-in Kotlin on the app project.Ask
Please migrate the Android Gradle integration per Flutter’s built-in Kotlin guidance for plugin authors:
https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors
References
Happy to help test with a prerelease / branch once available.