Android SDK Platforms 提取下载

昨晚用Android SDK工具下载AndroidPlatformaddon-apidocument等,当真是“龟速”,x KB/s。今天一测试,似乎又好了一点,但还是慢,全部下载完都不知道要多久,于是自己找了个方法,把zip包的地址提取出来,用迅雷下载,速度xxx KB/s,爽啊!

下面简单说一下方法。


一、用迅雷下载下面的三个文件到本地(下载不了的话,可以把https改成http试试)

当然,你也可以打开这几个文件,查看源代码,保存到本地。

https://dl-ssl.google.com/android/repository/repository.xml

https://dl-ssl.google.com/android/repository/addon.xml

https://innovator.samsungmobile.com/android/repository/repository.xml

二、相信你已经安装好JRE1.6Java Runtime Environment)了,下载下面这个文件,

http://darkhandz.qiniudn.com/images/20101209/CatchXMLString.jar

双击运行,出现如图所示的窗口。填入你刚才下载的那三个文件的路径,点Go 按 钮,出现success了的话,再填第二个文件的路径,点Go……其实这东东是我自己用Eclipse写的,不怎么好用,初学者嘛,将就一下吧。

三、三个文件都点过Go之后,去你保存那三个xml文件的路径下找results.txt 打开后 你可以看见下载地址了,填入迅雷下载吧!


四、下载好之后

google_apis-3-r03.zip这类文件名的,解压到Android SDK工具目录下的add-ons文件夹里。像android-2.1_r02-windows.zip等,解压到platforms文件夹里。重新启动SDK工具就能看到已经安装好了相关的平台开发包。


嫌麻烦的,下面有我抓出来的地址:

============================ divide ===========================
https://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
https://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
https://dl-ssl.google.com/android/repository/market_licensing-r01.zip
https://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip
https://dl-ssl.google.com/android/repository/google_apis-9_r01.zip
9 results found!
============================ divide ===========================
https://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip
https://dl-ssl.google.com/android/repository/android-1.1_r1-macosx.zip
https://dl-ssl.google.com/android/repository/android-1.1_r1-linux.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-macosx.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-linux.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-macosx.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-linux.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-macosx.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-linux.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-macosx.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_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-2.1_r02-macosx.zip
https://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
https://dl-ssl.google.com/android/repository/android-2.2_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-2.2_r02-macosx.zip
https://dl-ssl.google.com/android/repository/android-2.2_r02-windows.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/android-2.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r01-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r01-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r01-windows.zip
https://dl-ssl.google.com/android/repository/tools_r08-linux.zip
https://dl-ssl.google.com/android/repository/tools_r08-macosx.zip
https://dl-ssl.google.com/android/repository/tools_r08-windows.zip
https://dl-ssl.google.com/android/repository/docs-2.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
32 results found!
============================ divide ===========================
https://innovator.samsungmobile.com/android/repository/addon_samsung_GT_2.2_api-8_r01.zip
1 results found!