Flutter解决 警告 Waiting for another flutter command to release the startup lock

运行flutter的时候显示警告

Waiting for another flutter command to release the startup lock
复制代码

当项目异常关闭,或者android studio用任务管理器强制关闭,下次启动就会出现上面的一行话,

此时需要打开 flutter/bin/cache/lockfile,删除就行了

或者直接用下面的命令:rm ./flutter/bin/cache/lockfile

转载于:https://juejin.im/post/5cedf2c9e51d45777b1a3d15

猜你喜欢

转载自blog.csdn.net/weixin_33882443/article/details/91422973