Search code examples
c#androidxamarinxamarin-studio

Xamarin studio "Error XA5209: Unzipping failed. Please download"


I created a new project by selecting the default theme as Appcompat.Light, then when I run the app, I'm getting this error:

"Error XA5209: Unzipping failed. Please download dl-ssl.google.com/android/… and extract it to the /Users/username/.local/share/Xamarin/Xamarin.Android.Support.Vector.Drawable/23.3.0.0/content directory. (XA5209)."

I haven't done anything else other than create a new project, Why am i getting this error?


Solution

  • The process of downloading the Android.Support.V7 or other nuget could take some time.

    If in the middle of the process for some reason you quit the Xamarin Studio/Visual Studio or your internet goes down the packages being download as .zip will be corrupt.

    After you try to open it again you will see that message "Error XA5209: Unzipping failed. Please download dl-ssl.google.com/android/… and extract it to the /Users/username/.local/share/Xamarin/Xamarin.Android.Support.Vector.Drawable/23.3.0.0/content directory. (XA5209)."

    The solution that I follow most of the times this happens is to delete the root folder of the package where the error come from (/Users/username/.local/share/Xamarin.Android.Support.Vector.Drawable) and all the .zips inside the folder /Users/username/.local/share/zips.

    Click here for more Resolving Library Installation Errors