打开vs code后一直显示 Flutter Setup: Running pub upgrade..Flutter Setup:Building flutter tool...
flutter doctor也失败,提示:Building flutter tool... Running pub upgrade... 系统找不到指定的路径
太难了,随便一个报错都很难搜到o(╥﹏╥)o
解决办法:
【vs|Flutter Setup: Running pub upgrade.. Flutter Setup:Building flutter tool...】删除 flutter/bin 下的cache文件夹,然后再去 flutter doctor
推荐阅读
- 回顾 Flutter 2021 重要时刻,奉上虎年红包封面喜迎新年!
- Flutter实现左侧边栏导航
- 如何在 Flutter 创建一个后台任务
- Flutter Convex Bottom 底部导航
- Flutter动态化框架Thresh
- 基于 Riverpod 的 Flutter 状态管理
- Flutter 2022 产品路线图发布
- Flutter 插件库
- Windows Running “flutter pub get“ in XXX卡死
- Flutter之下拉刷新,上拉加载更多