当前位置: 首页 > news >正文

flutter doctor 信号号超时

报错如下:

:\Users\Administrator>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.27.4, on Microsoft Windows [版本 10.0.22631.5189], locale zh-CN)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.11.13)
[√] Android Studio (version 2024.2)
[√] Connected device (3 available)
[!] Network resourcesX A network error occurred while checking "https://maven.google.com/": 信号灯超时时间已到

尝试直接设置:

SET FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn  

SET PUB_HOSTED_URL=https://pub.flutter-io.cn

以上只是在本cmd环境生效,需要设置到环境变量中:

收工!

相关文章:

  • CCF CSP 第36次(2024.12)(1_移动_C++)
  • 基于STM32、HAL库的TCA9555PWR I/O扩展器驱动程序设计
  • linux如何用关键字搜索日志
  • 学习笔记十二——Rust 高阶函数彻底入门(超详细过程解析 + 每步数值追踪)
  • 【微信小程序】报错: http://127.0.0.1:7001 不在以下 request 合法域名列表中
  • 危化品安全员考试常见与注意事项
  • Python GUI 编程 | QPushButton 按钮控件详解 — 边框扁平化
  • virt-install和libguestfs工具常用虚拟机管理命令
  • Oracle REGEXP_SUBSTR
  • LINUX基石
  • 今日一记:五人分鱼与医院值班推理
  • 每日一题(小白)暴力娱乐篇30
  • 简单socket通信,回显 服务器程序与客户端程序之间的通信。
  • linux-vi和文件操作
  • Windows 图形显示驱动开发-WDDM 1.2功能—无显示器系统支持
  • CExercise_13_1排序算法_1插入排序
  • 了解一下Unity的RenderQueue
  • 【基于Servlet技术处理表单】
  • 目标检测:YOLOv11(Ultralytics)环境配置
  • Vue 3 的组合式 API-hooks
  • 屋顶上的阳光与火光:战争如何改变了加沙的能源格局
  • 银川市市长信箱被指已读乱回,官方回应
  • 俄罗斯准备在没有先决条件的情况下与乌克兰进行谈判
  • 泽连斯基公布与特朗普会晤细节,强调实现全面、无条件停火
  • 俄罗斯称已收复库尔斯克州,普京发表讲话
  • 永辉超市一季度净利降近八成,未来12个月至18个月是改革成果集中释放期