我们都知道使用Android sdk manager下载安装sdk速度非常慢,一般在10k/s以内,本文章推荐一种能够借助迅雷等下载工具下载sdk的zip包从而快速安装sdk的方法。
1.下载3个xml文件:
http://dl-ssl.google.com/Android/repository/addon.xml
http://dl-ssl.google.com/Android/repository/repository.xml
http://dl-ssl.google.com/Android/repository/repository-5.xml
2.根据xml文件中的内容获取下载zip包的连接如下:
==========================================================================
http://dl-ssl.google.com/Android/repository/google_apis-3-r03.zip
http://dl-ssl.google.com/Android/repository/google_apis-4_r02.zip
http://dl-ssl.google.com/Android/repository/google_apis-5_r01.zip
http://dl-ssl.google.com/Android/repository/google_apis-6_r01.zip
http://dl-ssl.google.com/Android/repository/google_apis-7_r01.zip
http://dl-ssl.google.com/Android/repository/google_apis-8_r02.zip
http://dl-ssl.google.com/Android/repository/google_apis-9_r02.zip
http://dl-ssl.google.com/Android/repository/google_apis-10_r02.zip
http://dl-ssl.google.com/Android/repository/google_apis-11_r01.zip
http://dl-ssl.google.com/Android/repository/google_apis-12_r01.zip
http://dl-ssl.google.com/Android/repository/google_apis-13_r01.zip
http://dl-ssl.google.com/Android/repository/google_apis-14_r01.zip
http://dl-ssl.google.com/Android/repository/google_tv-12_r02.zip
http://dl-ssl.google.com/Android/repository/market_licensing-r01.zip
http://dl-ssl.google.com/Android/repository/usb_driver_r04-windows.zip
http://dl-ssl.google.com/Android/repository/market_billing_r01.zip
http://dl-ssl.google.com/Android/repository/webdriver_r01.zip
==========================================================================
==========================================================================
https://dl-ssl.google.com/Android/repository/platform-tools_r09-windows.zip
https://dl-ssl.google.com/Android/repository/tools_r15-windows.zip
==========================================================================
==========================================================================
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
https://dl-ssl.google.com/Android/repository/sysimg_armv7a-14_r01.zip
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
https://dl-ssl.google.com/Android/repository/platform-tools_r08-windows.zip
https://dl-ssl.google.com/Android/repository/tools_r14-windows.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
https://dl-ssl.google.com/Android/repository/docs-14_r01.zip
https://dl-ssl.google.com/Android/repository/support_r04.zip
==========================================================================
3.下载完后,在/temp/文件夹中放入需要安装版本的zip包
4.运行sdk manager.exe开始安装,这是安装将跳过下载部分直接安装
5.安装完成