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
I got the same error when I using Flutter with http package.
import 'package:http/http.dart' as http;
...
http.Response response = http.get('url')
This was fine. But when I went to get the response.statusCode, it Error connecting error.
I found that I'm using SSR/v2Ray on my pc. I fix it by setting the proxy on Android Emulator extended controls panel.