flutter run 时一直 Waiting for another flutter command to release the startup lock

一切都是没问题的

在运行flutter doctor 一直提示

Waiting for another flutter command to release the startup lock。。。

查了一下github的flutter issue 找到了解决方法,如下: 


1、打开flutter的安装目录/bin/cache/ 

  我的目录结构是这个样子滴!

2、删除lockfile文件 

  我在删除这个文件的时候一直显示,dart文件正在运行,然鹅我的电脑上的全都已经关闭;

  果断使用360把他给强制粉碎了,,简单粗暴。。

  哈哈嗝~


3、然后重新运行就没毛病了。

猜你喜欢

转载自www.cnblogs.com/BLOGZR/p/10086886.html