树莓派400上通过Snap安装Flutter失败,flutter doctor报错
在树莓派400上安装Flutter失败:Dart SDK下载损坏
操作流程:
- 安装Raspberry Pi OS
- 安装snapd
- 安装snap-store
- 安装Flutter
- 执行
flutter doctor命令
触发的错误信息:
Downloading Linux arm64 Dart SDK from Flutter engine f3496a7185c2e12fa895dbac553ec7ee8968b874... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 193 100 193 0 0 299 0 --:--:-- --:--:-- --:--:-- 299 [/home/ali/snap/flutter/common/flutter/bin/cache/dart-sdk-linux-arm64.zip] 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 /home/ali/snap/flutter/common/flutter/bin/cache/dart-sdk-linux-arm64.zip or /home/ali/snap/flutter/common/flutter/bin/cache/dart-sdk-linux-arm64.zip.zip, and cannot find /home/ali/snap/flutter/common/flutter/bin/cache/dart-sdk-linux-arm64.zip.ZIP, period.
系统提示下载的文件已损坏,请重试;若问题持续可反馈问题,但多次尝试后仍未能在树莓派400的Raspberry Pi OS上完成Flutter安装。
内容的提问来源于stack exchange,提问作者RasooliAli
相关产品推荐
相关产品推荐

