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

unzip: cannot find zipfile directory in one of

下面是执行flutter doctor 后报错内容

End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of /Users/liubo/Documents/flutter/bin/cache/dart-sdk-darwin-x64.zip or
/Users/liubo/Documents/flutter/bin/cache/dart-sdk-darwin-x64.zip.zip, and cannot find /Users/liubo/Documents/flutter/bin/cache/dart-sdk-darwin-x64.zip.ZIP, period.
It appears that the downloaded file is corrupt; please try again.
If this problem persists, please report the problem at:
https://github.com/flutter/flutter/issues/new?template=1_activation.md

解决方法

配置flutter 环境地质

export PUB_HOSTED_URL=https://pub.flutter-io.cnexport FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
http://www.lryc.cn/news/14491.html

相关文章:

  • RFC4543: Galois Message Authentication Code (GMAC);CONFIG_CRYPTO_GCM
  • 【YOLOv5】 02-标注图片,训练并使用自己的模型
  • 2023.2.15日学习内容(用户的增删改查)
  • 车载以太网 - 测试用例设计 - 时间参数 - 11
  • 【C#个人错题笔记】
  • JavaScript刷LeetCode拿offer-树的遍历
  • 《FPGA学习》->呼吸灯
  • 【大数据离线开发】7.4 HBase数据保存和过滤器
  • CentOS7安装MariaDB步骤
  • 软件测试13个最容易犯的错误
  • 华为OD机试真题Java实现【5键键盘的输出】真题+解题思路+代码(20222023)
  • 化解射频和微波设计挑战的六个技巧
  • linux内核—进程调度(核心)
  • 【STM32笔记】__WFI();进入不了休眠的可能原因(系统定时器SysTick一直产生中断)
  • 【期末复习】例题讲解Dijkstra算法
  • Pytorch 基础之张量索引
  • JVM系统优化实践(1):JVM概览
  • 优秀!19年后,它再次成为TIOBE年度编程语言
  • 剑指 Offer 26. 树的子结构
  • 他是00年的,我们卷不过他...
  • C#开发的OpenRA的OpenGL创建纹理流程
  • 3D目标检测(一)—— 基于Point-Based方法的PointNet系列
  • 《设计模式》策略模式
  • 【离散数学】1. 数理逻辑
  • Java8新特性学习
  • SPARK outputDeterministicLevel的作用--任务全部重试或者部分重试
  • 图数据库中的 OLTP 与 OLAP 融合实践
  • Shader Graph简介
  • kubectl
  • 实验室设计SICOLAB第三方检测中心实验室设计