首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >没有安装软件包,错误的XA5209和XA5207

没有安装软件包,错误的XA5209和XA5207
EN

Stack Overflow用户
提问于 2018-04-16 13:54:22
回答 1查看 293关注 0票数 0

我对Visual中的Xamarin有一个问题。我正在和Xamarin.Forms和Xamarin.Android一起工作。我的问题是,该项目的android组件不会自行安装。zip文件夹为空,组件文件夹为空。

我尝试过的解决方案:

删除./AppData/Local/Xamarin (在windows中)文件夹,该文件夹应该强制IDE下载适当的包(不工作)

下载m2repository_r29,把它放在压缩文件夹中,并给它他的哈希名(不工作)

手动安装每个库:下载、解压缩并放入右文件夹(works,但对于来自此源m2repository的每个库来说是超长的)

代码语言:javascript
运行
复制
This is a sample of the error message I get:

    Severity    Code    Description Project File    Line    Suppression State
    Error       An error occurred trying to install required android components on Project 'Project.AndroidClient'.
    Project 'Project.AndroidClient' requires the following components installed on your machine: 
    Xamarin.Android.Support.Animated.Vector.Drawable
    JavaLibraryReference: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/animated-vector-drawable/23.3.0/animated-vector-drawable-23.3.0.aar-23.3.0.0
    AndroidResources: https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip-m2repository/com/android/support/animated-vector-drawable/23.3.0/animated-vector-drawable-23.3.0.aar-23.3.0.0
    ...

Please double-click here to install it.

Intallation Errors: XA5209 Unzipping failed. Please download 'https://dl-ssl.google.com/android/repository/android_m2repository_r29.zip:m2repository/com/android/support/animated-vector-drawable/23.3.0/animated-vector-drawable-23.3.0.aar' and extract it to the 'C:\Users\...\AppData\Local\Xamarin\Xamarin.Android.Support.Animated.Vector.Drawable\23.3.0.0\embedded' directory
XA5209 Reason: ...

请帮帮忙,我对这一切并不熟悉,我不知道该怎么做。

EN

回答 1

Stack Overflow用户

发布于 2018-04-19 12:20:45

使用nuget代替,xamarin将于5月5日从组件完全迁移到nuget。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49859044

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档