Skip to content

[Android] AGP 9 / built-in Kotlin compatibility #453

Description

@BriceFab

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions