码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2021-06-02 16:39:14      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:alt+   res   出现   ESS   date   command   mic   androi   项目   

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 就可以运行了

技术图片

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

标签:alt+   res   出现   ESS   date   command   mic   androi   项目   

原文地址:https://www.cnblogs.com/ishoulgodo/p/14826721.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!