简体   繁体   中英

flutter commands doesn't execute from terminal, takes forever

I'm new to flutter. I installed VS, dart and flutter inside. Right now I'm following tutorials and learning stuff. Everything was okey, I was working from dart terminal. After I changed channel to "dev" (flutter channel dev) and tried to run app, flutter commands takes forever now, I mean when i press enter in terminal, it receives my command but does nothing, just blinking cursor. Only way out is "ctrl+c", to stop the process. So, I even cannot changes channel back. Even when i Type command "flutter channels", it hangs... I'm working on windows

I tried restarting VS, PC, reinstalling dart and flutter. non of them works for me.

在此处输入图像描述

I'm new to flutter. I installed VS, dart and flutter inside. Right now I'm following tutorials and learning stuff. Everything was okey, I was working from dart terminal. After I changed channel to "dev" (flutter channel dev) and tried to run app, flutter commands takes forever now, I mean when i press enter in terminal, it receives my command but does nothing, just blinking cursor. Only way out is "ctrl+c", to stop the process. So, I even cannot changes channel back. Even when i Type command "flutter channels", it hangs... I'm working on windows

I tried restarting VS, PC, reinstalling dart and flutter. non of them works for me.

在此处输入图片说明

I'm new to flutter. I installed VS, dart and flutter inside. Right now I'm following tutorials and learning stuff. Everything was okey, I was working from dart terminal. After I changed channel to "dev" (flutter channel dev) and tried to run app, flutter commands takes forever now, I mean when i press enter in terminal, it receives my command but does nothing, just blinking cursor. Only way out is "ctrl+c", to stop the process. So, I even cannot changes channel back. Even when i Type command "flutter channels", it hangs... I'm working on windows

I tried restarting VS, PC, reinstalling dart and flutter. non of them works for me.

在此处输入图片说明

Place the flutter directory outside the C:\Program Files worked for me.

Check folder and directory ownership and rights on fluter sdk directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM