Android SDK更新困难解决方法

发布时间:2020-07-23 23:38:02 作者:一剑围城
来源:网络 阅读:1664

Android开发者官网的国内镜像站:wear.techbrood.com

搭建环境的时候,需要连接google服务器下载开发平台资源.在国内会非常痛苦.又是修改hosts文件,又是设置代理的.现在已经有了更方便的方法.

有好几个同步google服务器SDK镜像的国内镜像站.我们只需要在SDK Manager中设置好该代理服务器及其端口80,就可以正常下载sdk资源,而无需翻那个了。

 

方法一:使用国内镜像站

  1. 中关村镜像站(使用中)

    mirrors.opencas.cn

  2. 东软信息学院

    mirrors.neusoft.edu.cn

  3. 北京化工大学镜像站

IPv4:  ubuntu.buct.edu.cn

IPv4:  ubuntu.buct.cn

IPv6:  ubuntu.buct6.edu.cn

 

方法二:变相解决网络问题

实际上,SDK Manager下载资源是这样一个流程:

  1. google服务器下载列表信息文件Ainf.xml(实际上cache中如步骤5)

  2. 根据每一个Abin.xml文件下载其对应资源列表文件Abin.xml(实际上cache中如步骤6)

  3. 根据资源文件Abin.xml下载各种资源ziptemp目录

  4. 解压安装temp目录下的zip文件(似乎只有解压而已)

  5. sdkinf-1_09388bd5-repository-10_xml(列表信息文件)

  6. sdkbin-1_09388bd5-repository-10_xml(资源列表文件)

 

按照这样的流程,我们只需要第3步将资源文件复制到temp目录.就可以离线安装. 网络不好的问题可以变相解决.SDK Manager加载解析的Xml文件中可以获取每一个资源文件的实际下载地址.然后通过网盘、旋风等方式下载到本地。

 

************************《最后更新至:2015-5-5》***************************


Xml资源列表文件(共10个XML文件):

列表信息文件(platformplatform toolstoolssourcesampledocs )

http://dl.google.com/android/repository/repository-10.xml

 

常用系统映像列表文件

http://dl.google.com/android/repository/sys-img/android/sys-img.xml

集成Google Api的系统映像列表文件

http://dl.google.com/android/repository/sys-img/google_apis/sys-img.xml

android-wear系统映像列表文件

http://dl.google.com/android/repository/sys-img/android-wear/sys-img.xml

android-tv系统映像列表文件

http://dl.google.com/android/repository/sys-img/android-tv/sys-img.xml

 

add on列表文件

http://dl.google.com/android/repository/addon.xml

http://dl.google.com/android/repository/extras/intel/addon.xml

http://dl.google.com/android/repository/addons_list-2.xml

http://dl.google.com/android/repository/addon-6.xml

http://dl.google.com/android/repository/sys-img/x86/addon-x86.xml

 

========================我是一条分割线=============================

 

详细资源文件链接:

sources文件

https://dl-ssl.google.com/android/repository/sources-15_r02.zip

https://dl-ssl.google.com/android/repository/sources-16_r02.zip

https://dl-ssl.google.com/android/repository/sources-17_r01.zip

https://dl-ssl.google.com/android/repository/sources-18_r01.zip

https://dl-ssl.google.com/android/repository/sources-19_r02.zip

https://dl-ssl.google.com/android/repository/sources-20_r01.zip

https://dl-ssl.google.com/android/repository/sources-21_r01.zip

https://dl-ssl.google.com/android/repository/sources-22_r01.zip

 

samples文件

https://dl-ssl.google.com/android/repository/samples-15_r02.zip

https://dl-ssl.google.com/android/repository/samples-16_r01.zip

https://dl-ssl.google.com/android/repository/samples-17_r01.zip

https://dl-ssl.google.com/android/repository/samples-18_r01.zip

https://dl-ssl.google.com/android/repository/samples-19_r06.zip

https://dl-ssl.google.com/android/repository/samples-20_r03.zip

https://dl-ssl.google.com/android/repository/samples-21_r04.zip

https://dl-ssl.google.com/android/repository/samples-22_r05.zip

 

platforms文件

https://dl-ssl.google.com/android/repository/android-15_r05.zip

https://dl-ssl.google.com/android/repository/android-16_r05.zip

https://dl-ssl.google.com/android/repository/android-17_r03.zip

https://dl-ssl.google.com/android/repository/android-18_r03.zip

https://dl-ssl.google.com/android/repository/android-19_r04.zip

https://dl-ssl.google.com/android/repository/android-20_r02.zip

https://dl-ssl.google.com/android/repository/android-21_r02.zip

https://dl-ssl.google.com/android/repository/android-22_r02.zip

 

platform-tools文件

https://dl-ssl.google.com/android/repository/platform-tools_r22-windows.zip

https://dl-ssl.google.com/android/repository/platform-tools_r22-linux.zip

https://dl-ssl.google.com/android/repository/platform-tools_r22-macosx.zip

 

build-tools文件

https://dl-ssl.google.com/android/repository/build-tools_r22.0.1-windows.zip

https://dl-ssl.google.com/android/repository/build-tools_r22.0.1-linux.zip

https://dl-ssl.google.com/android/repository/build-tools_r22.0.1-macosx.zip

 

tools文件

http://dl.google.com/android/repository/tools_r24.2-windows.zip

http://dl.google.com/android/repository/tools_r24.2-linux.zip

http://dl.google.com/android/repository/tools_r24.2-macosx.zip

 

docs文件

https://dl-ssl.google.com/android/repository/docs-22_r01.zip

 

 --------------------------------------系统映像文件----------------------------------------

 

arm架构系统映像文件

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-15_r02.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-16_r03.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-17_r02.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-18_r02.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-19_r02.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_arm-21_r03.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_arm-22_r01.zip

 

Inter_x86架构系统映像文件

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-15_r01.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-16_r01.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-17_r01.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-18_r01.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-19_r02.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-21_r03.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86-22_r01.zip

 

Inter_x86_x64架构系统映像文件

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86_64-21_r03.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_x86_64-22_r01.zip

 

mips架构系统映像文件

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_mips-15_r01.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_mips-16_r04.zip

https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_mips-17_r01.zip

 

System Image With Google Api

1. System Image armeabi-v7a with Google APIs:

https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_arm-21_r05.zip

https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_arm-22_r01.zip

 

2. System Image x86 with Google APIs:

https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_x86-21_r05.zip

https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_x86-22_r01.zip

 

3. System Image x86_64 with Google APIs:

https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_x86_64-21_r05.zip

https://dl-ssl.google.com/android/repository/sys-img/google_apis/sysimg_x86_64-22_r01.zip


推荐阅读:
  1. delphi XE系列及以后的android-sdk的更新
  2. Android开发常见问题汇总

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

sdk android 国内镜像

上一篇:Xenserver加域管理

下一篇:无需SDK的统计工具,让哥赚了个iphone6

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》