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

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)

I’ve got a temporary work around, which I can use for now. The exception above is thrown when I run the emulator as a Pixel 3 Android 9.+ Target (Q API). I made up a second emulated device, a Pixel 2 Android 9.0 Target (28 API), and this target works fine.

I’m also noticing that the Pixel 2 target takes up 8.5GB on Disk, while the Pixel 3 target only takes up 1.4GB. It makes me wonder if the Pixel 3 target is missing some important things.

Leave a Comment