当我在VSCode上重新启动调试时,得到以下输出:
Error -32000 received from application: Service protocol could not handle or find a handler for the requested method.
Restarted application in 1,009ms.
热重装也出现此错误:
Hot reload received invalid response: {type: Sentinel, kind: Collected, valueAsString: <collected>}
我的环境是:
Mac OS X 10.15 19A602
VSCode 1.40.1
Flutter v1.9.1 + hotfix.6
'Android iOS Emulator'1.3.0,它是VSCode扩展名
当我停止后再启动时,它可以进行调试,但这不是解决方案,因为它的时间比重新启动或热重装功能更长。