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

在android studio中下载flutter 时报错

Waiting for another flutter command to release the startup lock

 

1:关闭 Android Studio

2:关闭所有 dart进程和android进程

3:打开 flutter 安装目录  如:...\flutter\flutter\bin\cache

      删除里面的 lockfile

4:打开 Android Studio 并且 清理缓存(clean project 和 invalidate caches,不清理可能还是会重复错误 )

 可参考:https://blog.csdn.net/aaawqqq/article/details/51944066

5:到这里问题就解决了,可以正常执行flutter相关命令

你可能感兴趣的:(flutter 之 Waiting for another flutter command to release the startup lock)