Xamarin studio“错误XA5209:解压缩失败.请下载“ [英] Xamarin studio "Error XA5209: Unzipping failed. Please download"

查看:66
本文介绍了Xamarin studio“错误XA5209:解压缩失败.请下载“的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过选择默认主题作为Appcompat.Light创建了一个新项目,然后在运行该应用程序时出现此错误:

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?

推荐答案

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

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

如果由于某些原因在过程中退出了 Xamarin Studio/Visual Studio ,或者您的Internet断开了,由于.zip损坏,正在下载的软件包将被破坏.

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.

尝试再次打开它后,您将看到消息"错误XA5209:解压缩失败.请下载dl-ssl.google.com/android/…并将其解压缩到/Users/username/.local/share/Xamarin/Xamarin.Android.Support.Vector.Drawable/23.3.0.0/content目录.(XA5209)."

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)."

这种情况下,我通常会采用的解决方案是删除错误来自的软件包的根文件夹(/Users/username/.local/share/Xamarin.Android.Support.Vector.Drawable )和文件夹/Users/username/.local/share/zips 中的所有.zips.

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.

单击此处了解更多解决库安装错误

这篇关于Xamarin studio“错误XA5209:解压缩失败.请下载“的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆