flutter run出现 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
转载
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
2 然后flutter run 就可以运行了
本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。