When flutter 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
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:
- Go to your flutter directory e.g E:/flutter
- Check the .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.
Articles related to Flutter:
P.S……………………….