flutter 错误❌及解决方式收集

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

解决方式1

  1. 打开 flutter 安装目录 /bin/cache
  2. 删除lockfile文件

解决方式2

// Linux
killall -9 dart

// Windows
taskkill /F /IM dart.exe

参考

Waiting for another flutter command to release the startup lock