当我运行我的 flutter 应用程序时,它会显示
Waiting for another flutter command to release the startup lock
此消息,不再继续。
最佳答案
在我的情况下,终端中的以下命令有所帮助(如 Günter Zöchbauer's comment 所建议):
killall -9 dart
在 Windows 上,在命令提示符或 PowerShell 窗口中运行以下命令(根据 upupming's comment 的建议):
taskkill /F /IM dart.exe
(您可以阅读 Windows here 中的 taskkill 标志)
https://stackoverflow.com/questions/51679269/