When I run flutter it will stops working. It shows "flutter exits unexpectedly" as error message.
github issues link: https://github.com/flutter/flutter/issues/16108
I am using Parrot linux operating system.
**
**
─[✗]─[dracula@parrot]─[~]
└──╼ $flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.2.3, on Linux, locale C.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1)
[✓] Connected devices (1 available)
• No issues found!
Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Failed to send crash report due to a network error: SocketException: Failed host lookup: 'clients2.google.com' (OS Error: Temporary failure in name resolution, errno = -3)
Crash report written to /home/dracula/flutter_10.log;
please let us know at https://github.com/flutter/flutter/issues.
try flutter upgrade
and then check flutter doctor
Try apt-get update and upgrade first. You may need to use sudo After that, run flutter doctor again.
Also, the error seems to suggest a network connectivity issue with 'clients2.google.com' so, please also check that your network connectivity is ok without blocking.
Most of the time flutter quits unexpectedly due to connection error.Make sure the connection is on or reliable.I Think there is a network error.
Look at the file that the crash report is written to. In your case it's at/home/dracula/flutter_10.log. You will find out exactly why it crashed.
This is surely network problem. since flutter works mostly on the network make sure everything is fine on your network.
It looks like you have something wrong with your network. Upgrade Flutter and try to use a VPN when you are using Flutter.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With