I use a MacBook Pro and install flutter, but when I type flutter doctor
, it doesn't respond (about 10 minutes passed).
this issue same to me, but I don't install Mamp software.
I use a MacBook Pro and install flutter, but when I type flutter doctor
, it doesn't respond (about 10 minutes passed).
this issue same to me, but I don't install Mamp software.
If on Windows and flutter doctor is not responding , it means it needs administrative privileges. Just go to search bar , find Command prompt and run it as administrator. That should do.
Without sounding silly, are you connected online? This happens to me when I'm disconnected from the Internet.
Also, what happens when you do this?
> flutter upgrade
Does it still lock up then, or does it actually check the version before eventually continuing and running flutter doctor?
try to run command : flutter
maybe you get some error, and fix it.
i also get error:
The term 'Unblock-File' is not recognized as the name of a cmdlet, function, sc
ript file, or operable program. Check the spelling of the name, or if a path wa
s included, verify that the path is correct and try again.
At line:1 char:13
+ Unblock-File <<<< -Path 'C:\src\flutter/bin/internal/update_dart_sdk.ps1'; &
'C:\src\flutter/bin/internal/update_dart_sdk.ps1'
+ CategoryInfo : ObjectNotFound: (Unblock-File:String) [], Comman
dNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Flutter requires PowerShell 5.0 or newer.
See https://flutter.dev/docs/get-started/install/windows for more.
Building flutter tool...
Running pub upgrade...
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because flutter_tools requires SDK version >=2.2.2 <3.0.0, version solving
failed.
and i fix it.
If on windows try open task manager and end/terminate all dart.exe processes, might be flutter doctor waiting on another dart.exe process to finish that for whatever reason is not finishing