Flutter报错:Waiting for another flutter command to release the startup lock

Translation: Waiting for another flutter command to release the startup lock, that is, another flutter command is executed before the previous  flutter  command ends, or a flutter command is executed when the project has not been loaded when the project is just started.

Solution:

1. Close vscode

2. Open the flutter sdk and find it according to the path bin/cache/lockfile

3. Delete the lockfile file

If it cannot be deleted, you need to stop the dart.exe process in the process manager, and then try to delete it again

Process Manager: Place the mouse on the taskbar, right-click, and select Task Manager to open

4. At this time, you can execute flutter related commands on the command line

problem solved

おすすめ

転載: blog.csdn.net/m0_73533910/article/details/131372018