Reputation: 174
My Error : Fastlane upload to crashlytics fails with the following error :
[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.
Archive: C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip
warning [C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics-devtools.zip]: 30829 extra bytes at beginning or within zipfile (attempting to process anyway)
file #1: bad zipfile offset (local header sig): 30829 (attempting to re-compensate) inflating:
C:/Users/xxxx/Library/CrashlyticsAndroid/crashlytics_build.xml
error: invalid compressed data to inflate bad CRC 00000000 (should be 313e1340)
file #2: bad zipfile offset (local header sig): 839 (attempting to re-compensate)
file #2: bad zipfile offset (local header sig): 839 file #3: bad zipfile offset (local header sig): 34909
Fastlane env : my fastlane environment is here https://github.com/fastlane/fastlane/issues/12161
Upvotes: 2
Views: 469
Reputation: 400
Download the zip from here and extract where fastlane fails to unzip crashlytics-devtools.zip.
For me the path is C:/Users/{your-user}/Library/CrashlyticsAndroid/crashlytics-devtools.zip
Upvotes: 1
Reputation: 758
fastlane is not officially supported on Windows (yet). My suggestion is to do this on macOS. (I also commented this on your GitHub issue).
Upvotes: 1