在创建了新的flutter项目后,今天更新了vscode,现在显示错误等待调试连接时出错:状态错误:无元素Error waiting for a debug connection: Bad state: No element
Error waiting for a debug connection: Bad state: No element
我也有这个问题,我这样解决了:
flutter channel stable flutter upgrade flutter pub get
您可以咨询here