第一次使用xarain下载Forms程序,提示一下错误.

C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(236,2): error XA5208: Download failed. Please download https://dl-ssl.google.com/android/repository/support_r19.0.1.zip and put it to the C:\Users\Admin\AppData\Local\Xamarin\Android.Support.v4\19.0.1 directory.


C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(236,2): error XA5208: Reason: 无法连接到远程服务器


C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(236,2): error XA5207: Please install package: 'Android Support Library' available in SDK installer. Java library file C:\Users\Admin\AppData\Local\Xamarin\Android.Support.v4\19.0.1\content\support/v4/android-support-v4.jar doesn't exist.

看了一下android-sdk目录里面已经有support的版本了.于是在网上下载新一个support_r19.0.1.zip这个包的文件.

这个网址有很多不需要FQ就能下载的谷歌链接地址

摘抄需要的部分

[cpp] view plain copy 在CODE上查看代码片 派生到我的代码片
  1. AndroidSupportRepository(extras/android/m2repository)
  2. https://dl-ssl.google.com/android/repository/android_m2repository_r05.zip
  3. https://dl-ssl.google.com/android/repository/android_m2repository_r06.zip
  4. AndroidSupportLibrary(extras/android/support)
  5. https://dl-ssl.google.com/android/repository/support_r19.zip
  6. https://dl-ssl.google.com/android/repository/support_r19.0.1.zip
  7. https://dl-ssl.google.com/android/repository/support_r19.1.zip
  8. https://dl-ssl.google.com/android/repository/support_r20.zip
  9. GoogleAdMobAdsSDK(extras/google/admob_ads_sdk)
  10. https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.4.1.zip
  11. GoogleAnalyticsAppTrackingSDK(extras/google/analytics_sdk_v2)
  12. https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip
  13. https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.zip
  14. https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.1.zip
  15. https://dl-ssl.google.com/android/repository/GoogleAnalyticsAndroid_2.0beta4.1.zip
  16. https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip
  17. https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip
  18. [Deprecated]GoogleCloudMessagingforAndroidLibrary(extras/google/gcm)
  19. https://dl-ssl.google.com/android/repository/gcm_r03.zip
  20. GooglePlayservicesforFroyo
  21. https://dl-ssl.google.com/android/repository/google_play_services_3265130_r12.zip
  22. GooglePlayservices(extras/google/google_play_services)
  23. https://dl-ssl.google.com/android/repository/google_play_services_4452030_r17.zip
  24. GoogleRepository(extras/google/m2repository)
  25. https://dl-ssl.google.com/android/repository/google_m2repository_r08.zip
  26. GooglePlayAPKExpansionLibrary(extras/google/play_apk_expansion)
  27. https://dl-ssl.google.com/android/repository/market_apk_expansion-r03.zip
  28. GooglePlayBillingLibrary(extras/google/play_billing)
  29. https://dl-ssl.google.com/android/repository/play_billing_r05.zip
  30. GooglePlayLicensingLibrary(extras/google/play_licensing)
  31. https://dl-ssl.google.com/android/repository/market_licensing-r02.zip
  32. GoogleUSBDriver(extras/usb_driver)
  33. https://dl-ssl.google.com/android/repository/usb_driver_r10-windows.zip
  34. GoogleWebDriver(extras/google/webdriver)
  35. https://dl-ssl.google.com/android/repository/webdriver_r02.zip
  36. Intelx86EmulatorAccelerator(HAXM)(extras/intel/Hardware_Accelerated_Execution_Manager)
  37. https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-windows_r03.zip
  38. https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-macosx_r02.zip
  39. https://dl-ssl.google.com/android/repository/extras/intel/haxm-windows_r04.zip
  40. https://dl-ssl.google.com/android/repository/extras/intel/haxm-macosx_r04.zip

只要下载support_r19.0.1.zip那个链接就可以了.用迅雷一下就下载完了。

然后按照出错提示将support_r19.0.1.zip整个文件,放到C:\Users\Admin\AppData\Local\Xamarin\Android.Support.v4\19.0.1 目录下重新编译即可。

更多相关文章

  1. 《android开发应用实战详解》光盘源代码
  2. Android Studio 小提示,新建Activity
  3. Android1.6好使,但是2.1 2.2遇到问题,不好使。提示emulator-5554
  4. Android中的人脸检测的示例代码(静态和动态)
  5. Android TextView文字链接4中方法
  6. 谷歌Android为何关闭源代码?

随机推荐

  1. 在 PHP 中格式化并高亮 SQL 语句
  2. QueryPHP V1-beta.5 改进 ORM 设计体验
  3. 定位分析内存泄漏的原因和后果
  4. 树状数据结构存储方式(查询篇)
  5. php重定向后跳转不了
  6. php单点登录实现原理实例详解
  7. php实现进度条原理
  8. php自动生成不重复的id
  9. php中ajax的使用实例讲解
  10. 支付宝app登录授权的infoStr授权登录流程