Flutter fresh installation flutter run stuck
- Try to upgrade your flutter version to v 1.7.8 by running thiscommand this needs internet connection
flutter upgrade
- Try this command
flutter clean
- Change your flutter channel to stable
flutter channel stable
- Check your internet connection because sometimes it prevents me fromrunning my app
Try to switch your flutter channel master to stable channel. After switching the channels you should call flutter upgrade
to download the Flutter SDK and dependent packages.
Do this steps in the terminal
flutter channel stableflutter upgrade
try to run your code after this steps.