Waiting for another flutter command to release the startup lock

后端 未结 30 3156
暗喜
暗喜 2020-12-12 09:20

When I run my flutter application it show

Waiting for another flutter command to release the startup lock

this messages and not

相关标签:
30条回答
  • 2020-12-12 09:53

    In Windows :

    Press: Ctrl + Alt + Delete

    • In task manager find out your editor such as VS Studio or Android Studio
    • In that Find "dart" and End that Task
    • Then close your editor
    • Open editor again
    • let editor to complete all things, after that run your query that will work
    0 讨论(0)
  • 2020-12-12 09:53

    Exit from your IDE, then from start manager stop all dart related files(if any have).
    Then go to
    "FLUTTER DIRECTORY"/bin/cache/lockfile
    and delete this lockfile

    0 讨论(0)
  • 2020-12-12 09:53

    This occurs when any other flutter command is running in background. To solve this you can run for mac

    killall -9 dart

    and for windows open task manager. Then in processes tab, search for dart process and kill all of them. Hope this helps you.

    0 讨论(0)
  • 2020-12-12 09:54

    If you are using Windows, you can open the task manager and under the 'Processes' tab search for processes named 'dart'. End all those tasks.

    0 讨论(0)
  • 2020-12-12 09:54

    In VS code run

    flutter clean
    

    in the terminal. This fixed my issue.

    0 讨论(0)
  • 2020-12-12 09:54

    I just left the terminal open for a minute. then it started working fine again.

    0 讨论(0)
提交回复
热议问题