技术咸鱼 技术咸鱼
首页
  • 《Django教程》
  • 《VuePress教程》
应用
  • 技术文档
  • GitHub技巧
  • Nodejs
  • 博客搭建
  • 网站
  • 资源
  • Vue资源
  • 分类
  • 标签
  • 归档
关于
头像

公众号:技术咸鱼
首页
  • 《Django教程》
  • 《VuePress教程》
应用
  • 技术文档
  • GitHub技巧
  • Nodejs
  • 博客搭建
  • 网站
  • 资源
  • Vue资源
  • 分类
  • 标签
  • 归档
关于
  • IDE

  • Markdown

  • 爬虫

  • Android

  • flutter

    • CocoaPods's specs repository is too out-of-date to satisfy dependencies
    • Waiting for another flutter command to release the startup lock
      • 出现情景
      • 原因:
      • 解决方法:
        • 方式一.杀死dart进程
        • 方式二
  • Mac

  • 错误整理
  • flutter
技术咸鱼
2020-07-22

标题 Waiting for another flutter command to release the startup lock

# 出现情景

在flutter开发的过程中经常会遇到以下错误

 Waiting for another flutter command to release the startup lock
1

# 原因:

由另外一个flutter命令在持有启动锁,导致我们当前的命令无法执行

# 解决方法:

# 方式一.杀死dart进程

#mac linux
killall -9 dart

#windows
taskkill /F /IM dart.exe

1
2
3
4
5
6

当然也可以在活动监视器中杀掉进程

这种方式需要重启编译器

# 方式二

进入到flutter sdk目录中,找到bin/cache/lockfile文件,删除它即可

#flutter#dart
上次更新: 2021/07/22, 21:00:39
CocoaPods's specs repository is too out-of-date to satisfy dependencies
Error:homebrew-core is a shallow clone

← CocoaPods's specs repository is too out-of-date to satisfy dependencies Error:homebrew-core is a shallow clone→

最近更新
01
DNS解析主机记录www和@的区别
09-16
02
Gradle build failed to produce an .apk file.
07-28
03
flutter构建为 Web 应用
07-27
更多文章>
Copyright © 2019-2022 oopanda | 皖ICP备19017961号-1
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式