问题引入
通过命令行执行
flutter devices
或其他flutter命令时,报错如下:
Waiting for another flutter command to release the startup lock...
解决方案
- 关闭Android Studio
- 打开flutter安装目录/bin/cache
- 删除lockfile文件
- 此时可在命令行再执行flutter相关命令,完美解决
通过命令行执行
flutter devices
或其他flutter命令时,报错如下:
Waiting for another flutter command to release the startup lock...