Waiting for another flutter command to release the startup lock…

I opened VSCode and tried to start a mobile emulator but the device list didn’t appear on the command palette. I ran Run Flutter Doctor but its result was the following.

Another flutter command blocked the command execution. It didn’t solve even if I restart VSCode but the problem was solved after killing all dart processes by the following command.

taskkill /F /IM dart.exe

If it didn’t solve the problem I would try to remove the following file but it was not necessary.

C:\Root\Software\flutter\bin\cache\lockfile

Comments

Copied title and URL