How to fix HttpException: Connection closed before full header was received

后端 未结 11 2703
不知归路
不知归路 2020-12-03 02:22

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

11条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 03:12

    Like Vitaly says ..

    I am also struggling to force this error at all when building through Xcode for iOS and I imagine the same goes for Android with Android studio..

    For iOS do flutter build ios --release and then open/run the project in Xcode

    For Android do flutter build apk --release and then open/run the project in Android Studio

    It seems to be an issue when debugging through flutter ... I will update this answer if I find otherwise but it seems stable with this method

提交回复
热议问题