美文网首页flutter
如何解决“Waiting for another flutter

如何解决“Waiting for another flutter

作者: Dayon | 来源:发表于2020-10-16 11:04 被阅读0次

执行 Flutter 包管理相关命令时有可能遇到 Waiting for another flutter command to release the startup lock... 这样的错误,可尝试杀死所有的 dart 进程解决:

// Linux
killall -9 dart

// Windows
taskkill /F /IM dart.exe
2020/07/26更新:

经测试,亦可通过删除 flutter 安装目录下的 bin/cache/lockfile 文件解决。

参考:
https://github.com/flutter/flutter/issues/7768
Waiting for another flutter command to release the startup lock.

相关文章

网友评论

    本文标题:如何解决“Waiting for another flutter

    本文链接:https://www.haomeiwen.com/subject/onhzpktx.html