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
enter image description here
I want to run my flutter project
2
Answers
hello please refer to this stackoverflow link
https://stackoverflow.com/a/78044600
this thread helped me to solve the issue
You have to change in the
app-src/android/build.gradle:
filehere is updated code :
and change in the
app-src>/android/settings.gradle
here is updated code :