Xamarin工作室"错误XA5209:解压缩失败.请下载"

Hei*_*erg 5 c# android xamarin xamarin-studio

我通过选择默认主题Appcompat.Light创建了一个新项目,然后当我运行应用程序时,我收到此错误:

"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)."
Run Code Online (Sandbox Code Playgroud)

除了创建一个新项目之外,我还没有做任何其他事情,为什么我会收到此错误?

jze*_*ino 10

下载Android.Support.V7或其他nuget的过程可能需要一些时间.

如果由于某种原因你在进程的中间退出Xamarin Studio/Visual Studio,或者你的互联网因为.zip而被下载的软件包损坏了.zip将会损坏.

在您尝试再次打开它后,您将看到该消息" 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)."

我发生这种情况的大部分时间的解决方案是删除错误来自(/Users/username/.local/share/Xamarin.Android.Support.Vector.Drawable)的包的根文件夹和文件夹中的所有.zips /Users/username/.local/share/zips.

单击此处获取更多解决库安装错误的信息