1 今天flutter run出现下面这样的情况
> Task :prepareKotlinBuildScriptModel UP-TO-DATE

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 3s
2 解决办法
在android  studio中的项目同时按住crtl+alt+shift+s

flutter run出现 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0._gradle

2 然后flutter  run 就可以运行了

flutter run出现 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0._gradle_02