I have recently upgraded my flutter version in my app. But when I want to debug the application, it shows me the following error.
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:50795/ws
Is there anyone facing the same issue after upgrading the flutter version? If is there any workaround, please share.
Right now this issue is opened on github https://github.com/flutter/flutter/issues/32587
Temporarily you can solve this issue by switching to physical device instead of emulator How to test android apps in a real device with Android Studio?
Decision found on github (link upward)