Bug 43781 - msbuild android unzipping failed
Summary: msbuild android unzipping failed
Status: RESOLVED DUPLICATE of bug 41123
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 6.1.2 (C7SR1)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2016-08-26 08:38 UTC by softlion
Modified: 2016-08-26 17:23 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description softlion 2016-08-26 08:38:37 UTC
While building, if the build is cancelled while xamarin is dowloading a java source zip file, on next build it displays 'unzipping failed'.

Xamarin downloads a zip file when the project references the Google Cast or Google Analytics component for example.

Checking the C:\Users\(windows user)\AppData\Local\Xamarin\zips folder, you can find invalid zip files. 
If you delete them and build again without cancelling, it works ok at the end of the download.

The build process should delete invalid zip files when building the app again.
Comment 1 Brendan Zagaeski (Xamarin Team, assistant) 2016-08-26 17:23:49 UTC
In a future release of Xamarin.Android, the build process will automatically pause and resume the download as appropriate:

*** This bug has been marked as a duplicate of bug 41123 ***