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

Waiting for another flutter command to release the startup lock


In my case, following command in Terminal helped (as suggested by Günter):

killall -9 dart

On Windows (as suggested by upupming):

taskkill /F /IM dart.exe


Remove this file:

<YOUR FLUTTER FOLDER>/bin/cache/lockfile

This releases the occupied lock and makes you able to run other commands.


I use a Mac with Visual Studio Code and this is what worked:

Shutdown your PC and switch it on again. Don't use the restart function. I restarted 2 times and it didn't work. Only shutdown worked.

PS: I tried out the following:

  1. Delete lockfile;
  2. Run killall -9 dart;
  3. Restart my PC.

But they all didn't work.