简体   繁体   English

错误 flutter clean - windows-x64/font-subset 工具下载失败

[英]error flutter clean - windows-x64/font-subset tool download failed

I can't use anymore flutter clean or doctor in command line in Android Studio 3.6.1.我不能再在 Android Studio 3.6.1 的命令行中使用 flutter clean 或 doctor 了。 When I try I have this message :当我尝试时,我收到以下消息:

Downloading windows-x64/font-subset tools... Download failed.正在下载 windows-x64/font-subset 工具...下载失败。 URL: https://storage.googleapis.com/flutter_infra/flutter/e1e6ced81d029258d449bdec2ba3cddca9c2ca0c/windows-x64/font-subset.zip Error: 404 Not Found网址: https : //storage.googleapis.com/flutter_infra/flutter/e1e6ced81d029258d449bdec2ba3cddca9c2ca0c/windows-x64/font-subset.zip错误:404 Not Found

I try to use gradlew clean.我尝试使用 gradlew clean。 I had exactly the same message.我收到了完全相同的信息。

By the way flutter structure is empty when I open a flutter file and I don't have any completion or shortcut to go to functions (message: cannot find declaration to go to).顺便说一下,当我打开一个颤振文件时,颤振结构是空的,而且我没有任何完成或快捷方式来转到函数(消息:找不到要转到的声明)。

Do you have any clue to why it's happen and how to fix it?您知道为什么会发生这种情况以及如何解决吗? Thanks谢谢

I found a solution.我找到了解决方案。 I remove flutter.我去除颤振。 I reinstall it and it's worked now.我重新安装它,它现在工作。 If someone now why that's happen I am interested.如果有人现在为什么会发生这种情况,我很感兴趣。

That's happened for some network issue, your network can not access the server.这是由于某些网络问题而发生的,您的网络无法访问服务器。 More Details: https://github.com/flutter/flutter/issues/48030 Hope you will find your all answers and solutions.更多详情: https : //github.com/flutter/flutter/issues/48030希望你能找到所有的答案和解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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