Flutter Update hangs up

1,474 views
Skip to first unread message

Jovel Quinones

unread,
Feb 28, 2019, 9:31:11 PM2/28/19
to Flutter Dev

flutter.png

I want to update my flutter but whenever I run "flutter update" on the command prompt, its stuck and does not load. So I tried "flutter doctor" and "flutter doctor -v" but still have the same result, can anyone help me with this., Appreciate much thanks :)

qm.le...@gmail.com

unread,
Feb 28, 2019, 9:53:46 PM2/28/19
to Flutter Dev
I had the same problem when trying to update my flutter, the same thing happened with windows 7 and 10. 
I searched for information about the error and I didn't find anything useful, so I decided to update it in that way.
I hope it works for you.
I manually downloaded the latest version of the SDK from the official website and replaced it with the folder of the previous version and everything worked perfectly for me. Don't forget to update the Flutter and Dart extensions in your code editor.

Jovel Quinones

unread,
Feb 28, 2019, 10:21:58 PM2/28/19
to Flutter Dev
Thank for the respond Leonardo, :) Yes I had tried downloading the latest version of the SDK from the official website and replace my old flutter files, but didn't help either. So I tried to find anything that might cause the hang-up, and discover this error in the flutter.bat file. 

SDK.png

I think it has something to do with PowerShell, maybe anyone could help me with this. I'm not familiar with PowerShell
Message has been deleted

Bened

unread,
Mar 2, 2019, 11:37:21 AM3/2/19
to Flutter Dev

nn.PNG

It is what I am opening, it is yellow because you can change the color
Message has been deleted

Bened

unread,
Mar 2, 2019, 11:47:39 AM3/2/19
to Flutter Dev
open the cmd.exe

WINDOWS + R
cmd
ok




Microsoft Windows [version 10.0.17763.316]
(c) 2018 Microsoft Corporation. Tous droits réservés.

C:\Users\xxx>flutter
Manage your Flutter app development.

Common commands:

  flutter create <output directory>
    Create a new Flutter project in the specified directory.

  flutter run [options]
    Run your Flutter application on an attached device or in an emulator.

Usage: flutter <command> [arguments]

Global options:
-h, --help                  Print this usage information.
-v, --verbose               Noisy logging, including all shell commands executed.
                            If used with --help, shows hidden options.

-d, --device-id             Target device id or name (prefixes allowed).
    --version               Reports the version of this tool.
    --suppress-analytics    Suppress analytics reporting when this command runs.
    --bug-report            Captures a bug report file to submit to the Flutter team.
                            Contains local paths, device identifiers, and log snippets.

    --packages              Path to your ".packages" file.
                            (required, since the current directory does not contain a ".packages" file)

Available commands:
  analyze                  Analyze the project's Dart code.
  attach                   Attach to a running application.
  bash-completion          Output command line shell completion setup scripts.
  build                    Flutter build commands.
  channel                  List or switch flutter channels.
  clean                    Delete the build/ and .dart_tool/ directories.
  config                   Configure Flutter settings.
  create                   Create a new Flutter project.
  devices                  List all connected devices.
  doctor                   Show information about the installed tooling.
  drive                    Runs Flutter Driver tests for the current project.
  emulators                List, launch and create emulators.
  format                   Format one or more dart files.
  help                     Display help information for flutter.
  install                  Install a Flutter app on an attached device.
  logs                     Show log output for running Flutter apps.
  make-host-app-editable   Moves host apps from generated directories to non-generated directories so that they can be
                           edited by developers.
  packages                 Commands for managing Flutter packages.
  precache                 Populates the Flutter tool's cache of binary artifacts.
  run                      Run your Flutter app on an attached device.
  screenshot               Take a screenshot from a connected device.
  stop                     Stop your Flutter app on an attached device.
  test                     Run Flutter unit tests for the current project.
  trace                    Start and stop tracing for a running Flutter app.
  upgrade                  Upgrade your copy of Flutter.
  version                  List or switch flutter versions.

Run "flutter help <command>" for more information about a command.
Run "flutter help -v" for verbose help output, including less commonly used options.

C:\Users\xxx>flutter upgrade
Upgrading Flutter from C:\Users\xxx\xxx\xxx\flutter...
Already up to date.

Bened

unread,
Mar 2, 2019, 11:53:03 AM3/2/19
to Flutter Dev
I do not understand the path you have src????
when I open the cmd.exe I have my user path

Microsoft Windows [version 10.0.17763.316]
(c) 2018 Microsoft Corporation. Tous droits réservés.

C:\Users\xxxx>



Le vendredi 1 mars 2019 03:31:11 UTC+1, Jovel Quinones a écrit :
Reply all
Reply to author
Forward
0 new messages