快速更新Android sdk

今天闲来无事,准备更新下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后缀结束。
那么依此类推,
       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






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值