Waiting for another flutter command to release the startup lock...
Posted miaocunfa
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Waiting for another flutter command to release the startup lock...相关的知识,希望对你有一定的参考价值。
遇到这个问题,随手百度一下大概率会得到以下答案:
进入到
flutter sdk
目录中,然后找到bin/cache/lockfile
文件,删除它即可。
删除之后再运行flutter packages get
就已经解决了。
根据提示的字面意思,猜测是Dart 进程开启的过多,其中有Dart 进程未释放 startup lock
资源。
此时只需要打开任务管理器或者 Mac的活动监视器,搜索 dart
,关闭所有dart进程即可。
并不需要删除任何文件。
再次运行 Flutter 命令 就可以了。
以上是关于Waiting for another flutter command to release the startup lock...的主要内容,如果未能解决你的问题,请参考以下文章
Flutter报错 Waiting for another flutter command to release the startup lock...
Waiting for another flutter command to release the startup lock... 异常解决
Waiting for another flutter command to release the startup lock...
yum提示another app is currently holding the yum lock;waiting for it to exit
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit 解决方法