2

I have build a flutter app and when try to run on older version of android API 16 it shows an error unfortunately app has stopped.In console it is showing an error could not update files on device: HttpException: Connection closed before full header was received, uri = http://127.0.0.1:64386/UnbKN1wrm_A=/

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
mohammed nabil
  • 475
  • 2
  • 14
  • 27
  • This issue is coming because of one of the package conflict. I was getting this issue when I have use package called "flutter_facebook_login". When I tried to disable each package and run my application I found this issue and then I solved by doing necessary steps that were required by flutter facebook login package which was shown in https://pub.dev/packages/flutter_facebook_login. Thank You. – Bhushan Jul 04 '20 at 19:14

1 Answers1

1

In the discussions opened in GitHub, it seems that the culprit of the error is the Android Q Emulator itself.

Here are the issues related to this:

And since this is an emulator issue, I think the best option is to wait for the update or try to run your Flutter app in a physical device as suggested.

Some temporary workaround if physical device is not available is to create another emulated device like Pixel 2 Android 9.0 Target (28 API).

MαπμQμαπkγVπ.0
  • 5,887
  • 1
  • 27
  • 65