material-components-flutter-codelabs icon indicating copy to clipboard operation
material-components-flutter-codelabs copied to clipboard

MDC 101 build has 2 deprecation warnings

Open geniuswebtools opened this issue 1 year ago • 2 comments

You are applying Flutter's app_plugin_loader Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

You are applying Flutter's main Gradle plugin imperatively using the apply script method, which is deprecated and will be removed in a future release. Migrate to applying Gradle plugins with the declarative plugins block: https://flutter.dev/go/flutter-gradle-plugin-apply

I would offer a fix, but I don't have a complete understanding of Dart or Flutter at this point, so if these things were deprecated, I would just be frustrated.

geniuswebtools avatar Jul 30 '24 16:07 geniuswebtools

Similar problems when using Chrome as device. image Weird thing is, when I try to fix the first WARNING, it works. But the second one cannot run after I replace FlutterLoader.loadEntrypoint with FlutterLoader.load.

chenkigba avatar Aug 21 '24 01:08 chenkigba

/android/build.gradle Set version to ext.kotlin_version = '1.7.10' For android build.

Mahsaap avatar Aug 28 '24 13:08 Mahsaap