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 prot
First turning off your WiFi/Bluetooth.
And run below command:
flutter clean
And then quitting or restarting your emulator.