Flutter报错之Waiting for another flutter command to release the startup lock解决方案

问题引入

通过命令行执行

flutter devices

或其他flutter命令时,报错如下:

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

解决方案

  1. 关闭Android Studio
  2. 打开flutter安装目录/bin/cache
  3. 删除lockfile文件
  4. 此时可在命令行再执行flutter相关命令,完美解决
    原文作者:小洋人最happy
    原文地址: https://blog.csdn.net/u010358168/article/details/84826707
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞