xarmain使用Forms編譯android工程出現support_r19.0.1.zip支援包錯誤

來源:互聯網
上載者:User

標籤:

第一次使用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就能下載的Google連結地址

摘抄需要的部分

 

[cpp] view plaincopy 
  1. Android Support Repository(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. Android Support Library(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. Google AdMob Ads SDK(extras/google/admob_ads_sdk)  
  10. https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.4.1.zip  
  11. Google Analytics App Tracking SDK(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]Google Cloud Messaging for Android Library(extras/google/gcm)  
  19. https://dl-ssl.google.com/android/repository/gcm_r03.zip  
  20. Google Play services for Froyo  
  21. https://dl-ssl.google.com/android/repository/google_play_services_3265130_r12.zip  
  22. Google Play services(extras/google/google_play_services)  
  23. https://dl-ssl.google.com/android/repository/google_play_services_4452030_r17.zip  
  24. Google Repository(extras/google/m2repository)  
  25. https://dl-ssl.google.com/android/repository/google_m2repository_r08.zip  
  26. Google Play APK Expansion Library(extras/google/play_apk_expansion)  
  27. https://dl-ssl.google.com/android/repository/market_apk_expansion-r03.zip  
  28. Google Play Billing Library(extras/google/play_billing)  
  29. https://dl-ssl.google.com/android/repository/play_billing_r05.zip  
  30. Google Play Licensing Library(extras/google/play_licensing)  
  31. https://dl-ssl.google.com/android/repository/market_licensing-r02.zip  
  32. Google USB Driver(extras/usb_driver)  
  33. https://dl-ssl.google.com/android/repository/usb_driver_r10-windows.zip  
  34. Google Web Driver(extras/google/webdriver)  
  35. https://dl-ssl.google.com/android/repository/webdriver_r02.zip  
  36. Intel x86 Emulator Accelerator(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 目錄下重新編譯即可。

xarmain使用Forms編譯android工程出現support_r19.0.1.zip支援包錯誤

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.