Fastlane 上传到 crashlytics 失败,获取远程文件时出错

Fastlane upload to crashlytics fails with error fetching remote file

我的错误: Fastlane 上传到 crashlytics 失败并出现以下错误:

[12:59:37]: Error fetching remote file: Exit status of command 'unzip 'C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip' -d 'C:/Users/xxxx/Library/CrashlyticsAndroid'' was 2 instead of 0.

存档:C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip

警告[C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip]: 30829 extra bytes at beginning or within zipfile (attempting to process anyway)

文件 #1:压缩文件偏移量错误(本地 header 信号):30829(尝试 re-compensate) 充气:

C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics_build.xml
error: invalid compressed data to inflate bad CRC 00000000 (should be 313e1340)

文件 #2:压缩文件偏移量错误(本地 header 信号):839(尝试 re-compensate)

文件 #2:压缩文件偏移量错误(本地 header 信号):839 文件 #3:错误的 zip 文件偏移量(本地 header 信号):34909

fastlane 环境: 我的 fastlane 环境是 here https://github.com/fastlane/fastlane/issues/12161

Windows 尚未正式支持 fastlane(目前)。我的建议是在 macOS 上执行此操作。 (我也在您的 GitHub 问题上对此发表了评论)。

here 下载 zip 并提取 fastlane 无法解压缩 crashlytics-devtools.zip 的位置。

我的路径是 C:/Users/{your-user}/Library/CrashlyticsAndroid/crashlytics-devtools.zip