Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Steps to reproduce
1. Create an Xamarin.Forms project using XS on Mac
Expected: Build should be successful
Actual: Build failed due to support libraries could not be downloaded. The zip file is corrupted, but it is not deleted and retried
Build output: https://gist.github.com/anonymous/9f0d2cc95ae08c71add8afbd52d6e7cb
Manually downloading and extracting doesn't work either.
If it is known that the zip file is corrupted, then android msbuild should delete the file and try again.
About XS: https://gist.github.com/af6b54be486d120c8430de826bc9544c
/Users/manish/code/QualityAssurance/Automation/XQA/XQA.XS.Tests/bin/Debug/TestResults/TestCreateBuildFormsApp/Temp/FormsApp/Droid: Error XA5209: Unzipping failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip and extract it to the /Users/manish/.local/share/Xamarin/Xamarin.Android.Support.v4/18.104.22.168/content directory. (XA5209) (FormsApp.Droid)
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: Warning: Expected File /Users/manish/.local/share/Xamarin/Xamarin.Android.Support.v4/22.214.171.124/content/m2repository/com/android/support/support-v4/23.3.0/support-v4-23.3.0.aar does not exist. Trying to extract again. (FormsApp.Droid)
/Users/manish/code/QualityAssurance/Automation/XQA/XQA.XS.Tests/bin/Debug/TestResults/TestCreateBuildFormsApp/Temp/FormsApp/Droid: Error XA5209: Reason: File /Users/manish/.local/share/Xamarin/zips/2A3A8A6D6826EF6CC653030E7D695C41.zip is not a ZIP archive (XA5209) (FormsApp.Droid)
This was fixed in xamarin-android/master/61ab87cb
but it looks like that was not cherry-picked over to cycle8..
@peterc should we cherry-pick that over?
@Dean: C8 is closed except to regression/blockers. Let's target this to C8SR1 please.
Can QA test this against master. If it passes we can then be ready to cherry-pick the fix over to SR1 as soon as we branch.
I am not able to reproduce this issue with the latest cycle 8 builds:
As the Xamarin.Forms project builds successfully.
Using the latest master builds, I have followed below mentioned steps:
1. Created Xamarin.Forms application on XS >> Mac
2. Build all
3. The application build successfully.
Below is the screencast for the same:
IDE about and Logs: https://gist.github.com/shrutis360/abf7df62f3d829df2a6c0cdf7a2a7a31
I have checked both the above mentioned cases manually.
Hence, as of now not changing the status of the issue, please look into it and let us know if there is anything else we can check.
*** This bug has been marked as a duplicate of bug 41123 ***