xarmain使用Forms编译android工程出现support_r19.0.1.zip支持包错误
2015-06-26 00:48
627 查看
第一次使用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 plaincopy
Android Support Repository(extras/android/m2repository)
https://dl-ssl.google.com/android/repository/android_m2repository_r05.zip https://dl-ssl.google.com/android/repository/android_m2repository_r06.zip
Android Support Library(extras/android/support)
https://dl-ssl.google.com/android/repository/support_r19.zip https://dl-ssl.google.com/android/repository/support_r19.0.1.zip https://dl-ssl.google.com/android/repository/support_r19.1.zip https://dl-ssl.google.com/android/repository/support_r20.zip
Google AdMob Ads SDK(extras/google/admob_ads_sdk)
https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.4.1.zip
Google Analytics App Tracking SDK(extras/google/analytics_sdk_v2)
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.1.zip https://dl-ssl.google.com/android/repository/GoogleAnalyticsAndroid_2.0beta4.1.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip
[Deprecated]Google Cloud Messaging for Android Library(extras/google/gcm)
https://dl-ssl.google.com/android/repository/gcm_r03.zip
Google Play services for Froyo
https://dl-ssl.google.com/android/repository/google_play_services_3265130_r12.zip
Google Play services(extras/google/google_play_services)
https://dl-ssl.google.com/android/repository/google_play_services_4452030_r17.zip
Google Repository(extras/google/m2repository)
https://dl-ssl.google.com/android/repository/google_m2repository_r08.zip
Google Play APK Expansion Library(extras/google/play_apk_expansion)
https://dl-ssl.google.com/android/repository/market_apk_expansion-r03.zip
Google Play Billing Library(extras/google/play_billing)
https://dl-ssl.google.com/android/repository/play_billing_r05.zip
Google Play Licensing Library(extras/google/play_licensing)
https://dl-ssl.google.com/android/repository/market_licensing-r02.zip
Google USB Driver(extras/usb_driver)
https://dl-ssl.google.com/android/repository/usb_driver_r10-windows.zip
Google Web Driver(extras/google/webdriver)
https://dl-ssl.google.com/android/repository/webdriver_r02.zip
Intel x86 Emulator Accelerator(HAXM)(extras/intel/Hardware_Accelerated_Execution_Manager)
https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-windows_r03.zip https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-macosx_r02.zip https://dl-ssl.google.com/android/repository/extras/intel/haxm-windows_r04.zip 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 目录下重新编译即可。
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 plaincopy
Android Support Repository(extras/android/m2repository)
https://dl-ssl.google.com/android/repository/android_m2repository_r05.zip https://dl-ssl.google.com/android/repository/android_m2repository_r06.zip
Android Support Library(extras/android/support)
https://dl-ssl.google.com/android/repository/support_r19.zip https://dl-ssl.google.com/android/repository/support_r19.0.1.zip https://dl-ssl.google.com/android/repository/support_r19.1.zip https://dl-ssl.google.com/android/repository/support_r20.zip
Google AdMob Ads SDK(extras/google/admob_ads_sdk)
https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-6.4.1.zip
Google Analytics App Tracking SDK(extras/google/analytics_sdk_v2)
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta4.1.zip https://dl-ssl.google.com/android/repository/GoogleAnalyticsAndroid_2.0beta4.1.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_2.0beta5.zip
[Deprecated]Google Cloud Messaging for Android Library(extras/google/gcm)
https://dl-ssl.google.com/android/repository/gcm_r03.zip
Google Play services for Froyo
https://dl-ssl.google.com/android/repository/google_play_services_3265130_r12.zip
Google Play services(extras/google/google_play_services)
https://dl-ssl.google.com/android/repository/google_play_services_4452030_r17.zip
Google Repository(extras/google/m2repository)
https://dl-ssl.google.com/android/repository/google_m2repository_r08.zip
Google Play APK Expansion Library(extras/google/play_apk_expansion)
https://dl-ssl.google.com/android/repository/market_apk_expansion-r03.zip
Google Play Billing Library(extras/google/play_billing)
https://dl-ssl.google.com/android/repository/play_billing_r05.zip
Google Play Licensing Library(extras/google/play_licensing)
https://dl-ssl.google.com/android/repository/market_licensing-r02.zip
Google USB Driver(extras/usb_driver)
https://dl-ssl.google.com/android/repository/usb_driver_r10-windows.zip
Google Web Driver(extras/google/webdriver)
https://dl-ssl.google.com/android/repository/webdriver_r02.zip
Intel x86 Emulator Accelerator(HAXM)(extras/intel/Hardware_Accelerated_Execution_Manager)
https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-windows_r03.zip https://download-software.intel.com/sites/landingpage/android/extra_intel_haxm-macosx_r02.zip https://dl-ssl.google.com/android/repository/extras/intel/haxm-windows_r04.zip 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 目录下重新编译即可。
相关文章推荐
- Android中的Activity常见样式
- Android高级界面组件的学习(二)
- android 顶部横向滑动菜单效果
- Android同时使用多个library时android-support-v4.jar冲突问题。
- android 无法保存裁剪图片
- 常用Android开源框架
- android获取音频绝对地址
- android 自定义dialog,窗口动画
- android之java程序性能优化
- Material设计非得靠Android L吗?看过来,自定View仿elevation效果!
- Android应用实例之有道辞典
- Android中fragment切换状态
- 在ubuntu上搭建android开发环境(1)——安装ubuntu
- android项目的目录结构
- Activity回传值实例
- 菜鸟学Android笔记(四十二):Include指令及九大隐式对象
- Android基础组件(一)自动完成控件AutoCompleteTextView
- Android 应用四大组件
- ProgressDialog show()的时候 12-18 11:05:55.356: E/AndroidRuntime(461): android.view.WindowManager$Ba
- Worklight生成的android代码, 运行时,