Flutter问题:Waiting for another flutter command to release the startup lock

导入外部Flutter项目运行时出现问题

打开AndroidStudio的时候顶部的模拟器一直是loading状态,即使已经打开了模拟器。 

运行flutter doctor 提示

Waiting for another flutter command to release the startup lock

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

1、打开flutter的安装目录/bin/cache/ 
2、删除lockfile文件 
3、重启AndroidStudio

如果上述方法不生效,

请试试

1.先关闭AndroidStudio,在任务管理器关闭dart.exe进程。

2、打开flutter的安装目录/bin/cache/ 
3、删除lockfile文件 

参考:Flutter Issue
 

猜你喜欢

转载自blog.csdn.net/Maiduoudo/article/details/97265105