我们都知道使用Android sdk manager下载安装sdk速度非常慢,一般在10k/s以内,本文章推荐一种能够借助迅雷等下载工具下载sdk的zip包从而快速安装sdk的方法。
1.下载3个xml文件:
2.根据xml文件中的内容获取下载zip包的连接如下:
==========================================================================
<!-- begin-->
<!-- ADD-ONS ....................... -->
<!-- GOOGLE TV ADDONS ............. -->
<!-- EXTRAS ....................... -->
<!-- end-->
==========================================================================
==========================================================================
<!-- begin-->
<!-- PLATFORM-TOOL ........................ -->
https://dl-ssl.google.com/android/repository/platform-tools_r09-windows.zip
<!-- TOOLS ........................ -->
https://dl-ssl.google.com/android/repository/tools_r15-windows.zip
<!-- end-->
==========================================================================
==========================================================================
<!-- begin-->
<!-- PLATFORMS ........................ -->
https://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
https://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/android-14_r01.zip
<!-- SYSTEM IMAGES ........................ -->
https://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r01.zip
<!-- SAMPLES ........................ -->
https://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-14_r01.zip
<!-- PLATFORM-TOOLS ........................ -->
https://dl-ssl.google.com/android/repository/platform-tools_r08-windows.zip
<!-- TOOLS ........................ -->
https://dl-ssl.google.com/android/repository/tools_r14-windows.zip
<!-- DOCS ........................ -->
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
<!-- EXTRAS ........................ -->
https://dl-ssl.google.com/android/repository/support_r04.zip
<!-- end-->
==========================================================================
3.下载完后,在<sdk>/temp/文件夹中放入需要安装版本的zip包
4.运行sdk manager.exe开始安装,这是安装将跳过下载部分直接安装
5.安装完成