今天闲来无事,准备更新下SDK。结果 你懂得~~
机房10兆的带宽,下载速度只有八十多KiB/s,龟速!不能忍!!开始折腾了~~~
......
半个小时后,终于让我找到突破口了。大家可以对照下图和SDK Tools、Platform-tools和Builds-tools的下载地址看下(通过GoAgent的log可以查看得到源地址):
SDK Tools
http://dl-ssl.google.com/android/repository/tools_r23.0.5-windows.zip
Plattform-tools
http://dl-ssl.google.com/android/repository/platform-tools_r21-windows.zip
Builds-tools
http://dl-ssl.google.com/andro
id/repository/build-tools_r21.0.2-windows.zip
是不是觉得命名遵循着一定的规律(或者说规范)?
前面都是
http://dl-ssl.google.com/andro
id/repository/ 再跟上工具名称
tools 、platform 、
build-tools完了加上修订版本号( r+版本号), 再跟上操作系统类型, windows平台为windows或linux平台为linux 最后以zip后缀结束。
那么依此类推,
则 Platform-tools 20的下载地址为
http://dl-ssl.google.com/android/repository/platform-tools_r20-windows.zip
Build-tools 21的下载地址为:
http://dl-ssl.google.com/andro
id/repository/build-tools_r21-windows.zip
然后将这些地址放到迅雷里验证,果然都能成功下载下来,而且速度杠杠的
轻松上两兆
。
那么问题来了,挖掘机技术哪家强? (@﹏@)~ 不好意思,跑偏了... 收~~~~~~那么下完了把这些
压缩包放哪呢?
不要心急,
打开你的sdk目录,有没有发现一个名为temp的文件夹呢?(没有的手动建一个)
对的,将你下好的压缩包复制到该目录下,完了在SDK Manager中勾选需要安装的工具,安装就行了,此时SDK Manager就只做解压操作了(要是你对sdk的目录熟悉的话你也可以直接将压缩包解压到相应的目录下,如果你没把握的话,不建议这样做)。
下面是其他相关文件的下载地址,大家自己对比下,以后升级就可以找规律,填数字,获取地址,一个迅雷批量搞定了(开发者也可以自己写个脚本或程序生成这些地址哦)
!
http://dl-ssl.google.com/android/repository/docs-21_r01.zip
http://dl-ssl.google.com/android/repository/android-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/android-tv/sysimg_atv_arm-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/android-tv/sysimg_atv_x86-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/android/sysimg_arm-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/android/sysimg_x86_64-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/android/sysimg_x86-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/google_apis/sysimg_arm-21_r02.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/google_apis/sysimg_x86_64-21_r02.zip
http://dl-ssl.google.com/andro
id/repository/sys-img/google_apis/sysimg_x86-21_r02.zip
http://dl-ssl.google.com/andro
id/repository/google_apis-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/sources-21_r01.zip
http://dl-ssl.google.com/andro
id/repository/android_m2repository_r07.zip
http://dl-ssl.google.com/andro
id/repository/support_r21.zip
http://dl-ssl.google.com/andro
id/repository/google_play_services_3265130_r12.zip
http://dl-ssl.google.com/andro
id/repository/google_play_services_6111000_r20.zip
http://dl-ssl.google.com/andro
id/repository/google_m2repository_r12.zip
http://dl-ssl.google.com/andro
id/repository/market_apk_expansion-r03.zip
http://dl-ssl.google.com/andro
id/repository/play_billing_r05.zip
http://dl-ssl.google.com/andro
id/repository/market_licensing-r02.zip
http://dl-ssl.google.com/andro
id/repository/usb_driver_r11-windows.zip
http://dl-ssl.google.com/andro
id/repository/webdriver_r02.zip