Waiting for another flutter command to release the startup lock...
Posted sea-stream
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Waiting for another flutter command to release the startup lock...相关的知识,希望对你有一定的参考价值。
平时我们在开发flutter过程中,在执行flutter packages get命令之后,如果运气不好的,命令没有执行成功的话,我们就会遇到这个错误提示: Waiting for another flutter command to release the startup lock... 1 然后你会发现会发现在任何地方执行flutter命令,都会遇到这个错误: tinytongtongdeMacBook-Pro% flutter doctor Waiting for another flutter command to release the startup lock... 1 2 3 一般情况下,你会关闭项目,重启IDE,但这些操作都无效,除非你重启电脑。 这里给出一个非常简单的解决方法: 进入到你的flutter sdk目录中,然后找到bin/cache/lockfile文件,删除它即可。 删除之后你再运行flutter doctor,你会发现错误已经解决了。
以上是关于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 解决方法