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. ADB基本命令
  2. Android(安卓)so文件浅析
  3. android中图片的三级cache策略(内存、文件、网络)之二:内存缓存策略
  4. DynamicAPK基本概念
  5. 从iOS角度思考Android
  6. Android自动dump hprof文件的功能实现
  7. 如何在 Android(安卓)Studio 中引用不在项目文件夹中的 jar
  8. basic4android 开发教程翻译(二)可视化设计与猜数字程序
  9. Android(安卓)Studio生成签名文件,自动签名,以及获取SHA1和MD5值

随机推荐

  1. android音乐播放器常见操作
  2. android 获取 imei号码以及其他信息
  3. Android(安卓)程序中哪个 Activity 最先
  4. Android使用代码
  5. Android三种方法设置ImageView的图片
  6. Android EventBus3.0 索引
  7. Android监听应用程序安装和卸载
  8. android theme中的各个color的含义
  9. android tp多点触摸
  10. Android下rtc驱动调用流程