When flutter crashed!…..

Aseem Wangoo
2 min readApr 21, 2018

--

Crashed!!!!

Flutter crashes

All in one Flutter Resource: https://flatteredwithflutter.com/flutter-crashes/

Like every other day, I opened my laptop, listened to songs, after some time made my mind to resume with the flutter development.

I use the VS Code as my IDE. Now open the app folder, parallelly waiting for the android emulator to show up.

All was good till here until I ran F5 (Command to run flutter app). I was welcomed with

Crash details…

Searched everywhere on the internet, but of no-use. It was redirecting me to raise the issue at https://github.com/flutter/flutter/issues.

Wasted several days on this issue. Every day used to search, in search of a solution. But, no luck :(

One day, just casually checking the line.git/config, I opened the flutter bin directory (E:/flutter — — — in my case). Here, I deleted the config file.

VS Code was still opened, so I ran f5……………………………………:)

IT WORKED!!!!!!!!!!!!!!!!!!

Steps:

  1. Go to your flutter directory e.g E:/flutter
  2. Check the .git folder (if not visible, then it is hidden)
  3. Go into .git folder. Look for config file.
  4. If present, delete it.
  5. Run flutter app from your IDE. It will work now.

Articles related to Flutter:

P.S……………………….

--

--