I started following this tutorial about Flutter, and I followed each step until the installation of Flutter on windows, even added flutter to PATH.
Now, once I try to execute flutter
in CMD / Powershell (I work on Windows 10), it gives no output.
It seems to recognize the command, but it doesn't give further output for a very long time, the console just remains empty.
Has anyone encountered that problem before and knows how to fix it? Thanks.
The solution is to install Flutter in a path containing only alphanumeric characters (just to be sure). Be sure to update the PATH Environment Variable, as suggested in the other answers.
To do this, under the Command Prompt terminal, type in 'Flutter Doctor' to check for other requirements. (Since a version has already been installed on my computer, below is an image shown from a previous version, to help you get an understanding of the 'errors' that appear after flutter doctor analysis.)
The problem was that I installed it in C:/Program Files, the guy in the course didn't mention anything about that but in the link you sent they did.
Here's the key takeaway.
Installing flutter in places that requires elevated privileges (e.g. C:\Program Files\
won't work.
Thank you @pskink for the link.
it takes a long time, just wait. or you input flutter --verbose, it will output infomation to console.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With