Flutter crashes!!!!!

Crashed!!!!
Crashed!!!!

Either you run the day or day runs you….

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

I use VS Code as my IDE. Now opened the app folder, parallely 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…
Crash details…

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

Wasted several days on this issue. Everyday used to search, in search of solution. But, no luck 🙁

Hope
Hope

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 .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.

YouTube Channel : https://www.youtube.com/channel/UCZhOhhFOjvT3mHjIXBVL_SA

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