
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

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 🙁

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:
- Go to your flutter directory e.g E:/flutter
- Check .git folder (if not visible, then it is hidden)
- Go into .git folder. Look for config file.
- If present, delete it.
- Run flutter app from your IDE. It will work now.
YouTube Channel : https://www.youtube.com/channel/UCZhOhhFOjvT3mHjIXBVL_SA
P.S……………………….