Operating System
Linux
Plugin
device_info_plus, but really all the plugins now
Version
xxx
Flutter SDK
3.44
Compilation command
flutter build apk
Dart Dependencies
Native dependencies
Compilation Error
I am using <plugin-name> in my Flutter app.
Starting with Android Gradle Plugin (AGP) 9.0, support for applying the Kotlin Gradle Plugin (KGP) has been removed. Because this plugin applies KGP, it causes a compilation error that prevents my app from building. Here is an example of the error Issue #181383.
Flutter has temporarily added support to allow KGP while apps and plugins migrate to AGP 9.0+, but this support will be removed in a future version of Flutter.
Please migrate this plugin to use built-in Kotlin to ensure your plugin users can successfully build their apps in future versions of Flutter.
Here is the Flutter migration guide for plugin authors.
Please be respectful and mindful of the plugin repository's rules and code of conduct when reporting issues and interacting with plugin authors.
For reference, see the Flutter Code of Conduct.
Flutter Doctor
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.44.0, on Ubuntu 24.04.4 LTS
6.17.0-14-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android
SDK version 35.0.0)
[✗] Chrome - develop for the web (Cannot find Chrome
executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a
Chrome executable.
[✓] Linux toolchain - develop for Linux desktop
[✓] Connected device (2 available)
[✓] Network resources
Checklist before submitting a bug
Operating System
Linux
Plugin
device_info_plus, but really all the plugins now
Version
xxx
Flutter SDK
3.44
Compilation command
flutter build apk
Dart Dependencies
Native dependencies
Compilation Error
Flutter Doctor
flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.44.0, on Ubuntu 24.04.4 LTS 6.17.0-14-generic, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable. [✓] Linux toolchain - develop for Linux desktop [✓] Connected device (2 available) [✓] Network resourcesChecklist before submitting a bug
flutter pub upgradeflutter clean