zoukankan      html  css  js  c++  java
  • Xamarin.Android 反复报 Please Download android_m2repository_rxx.zip 的解决办法

    我原来一直用的是老版本的 Xamarin , android_m2repository_rxx.zip 早已在 C:UsersXXXAppDataLocalXamarinAndroid.Support.DesignXXX 中存在,所以更新最新的 Xamarin 后, 这一块都是没有任何问题的。

    有园友反映这个 zip 明明已经放到了指定的文件夹中,但是还是会反复的 Please download XXXX。

    1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(348,2): error XA5208: Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:UsersAdministratorAppDataLocalXamarinAndroid.Support.Design23.0.1.3 directory.
    1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(348,2): error XA5208: Reason: 发生一个或多个错误。
    1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(348,2): error XA5207: Please install package: ‘Xamarin.Android.Support.Design‘ available in SDK installer. Java library file C:UsersAdministratorAppDataLocalXamarinAndroid.Support.Design23.0.1.3embeddedclasses.jar doesn‘t exist.
    1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(348,2): error XA5208: Download failed. Please download https://dl-ssl.google.com/android/repository/android_m2repository_r22.zip and put it to the C:UsersAdministratorAppDataLocalXamarinAndroid.Support.Design23.0.1.3 directory.
    1>C:Program Files (x86)MSBuildXamarinAndroidXamarin.Android.Common.targets(348,2): error XA5208: Reason: 发生一个或多个错误。

    今天我在公司的电脑上试了试,确实存这个问题。

    如果因为这个android_m2repository_rxx.zip 无法下载而引起的编译错误,请按如下方法解决:

    1,

    在C:UsersXXXAppDataLocalXamarinzips 下面有一个空的 zip 文件:

    技术分享

    2,把准备好的 android_m2repository_rxx.zip 放到这个文件夹下,并重命名为上图中的那个文件名(即替换)。

    3,重新编译。

    这个问题在老版本中不存在(具体是哪个版本中有这个问题的,我不清楚),现在只需要把 android_m2repository_rxx.zip 放到这一个文件夹下,并重命名,不在需要放入其它的文件夹下。

    Xamarin.Android 反复报 Please Download android_m2repository_rxx.zip 的解决办法

    标签:des   android   class   log   com   http   si   it   la   

    原文:http://www.cnblogs.com/xling/p/5359811.html

  • 相关阅读:
    VBS操作Excel常见方法
    判断文件和文件夹是否存在
    vbs获取自身文件名,不带格式,不带路径
    vbs,修改文件名
    UiPath字符串函数的介绍和使用
    linux各个目录的作用
    Linux下设置memcached访问IP
    python单继承与多继承
    粘包,文件传输
    网络编程
  • 原文地址:https://www.cnblogs.com/zjoch/p/5490707.html
Copyright © 2011-2022 走看看