[英]Facing issue building flutter tool… while updating flutter
I am just to trying updating my flutter using flutter upgrade command.But while updating it stuck at我只是想尝试使用flutter 升级命令更新我的 flutter。但是在更新它时卡在
building flutter tool... .构建 flutter 工具...... I don't know why.
我不知道为什么。 After waiting 4-5 minutes i close my terminal and tried to run again flutter upgrade but no use.
等待 4-5 分钟后,我关闭终端并尝试再次运行flutter 升级但没有用。 If anybody faced this issue before please help.
如果有人以前遇到过这个问题,请帮忙。
This is a bit old question but for anyone coming here lately let me try to answer it.这是一个有点老的问题,但对于最近来这里的任何人,让我试着回答一下。
Since I faced this issue multiple times I think it will be helpful to share how I solved it.由于我多次遇到这个问题,我认为分享我如何解决它会有所帮助。 I found that being stuck at "building flutter tool..." happens usually because of these reasons:
我发现卡在“构建 flutter 工具...”通常是因为以下原因:
killall dart
on terminal and rerunning flutter doctor
killall dart
并重新运行flutter doctor
I don't necessarily think this will solve all similar issues but it was how I solved them many times.我不一定认为这会解决所有类似的问题,但这是我多次解决它们的方式。 But I think a detailed log would have been better from flutter.
但我认为 flutter 的详细日志会更好。 Also checkout this issue on github.
另请在 github 上查看此问题。 .
.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.