安装Android SDK的时候,直接使用的SDK Manager在线安装的,速度也比较快。使用SDK Manager在线安装速度很慢,只有十几K/s的速度,并且随时面临断掉的可能。经过尝试,无法断点续传。因此,使用离线安装的方法完成安装。

分析http://dl-ssl.google.com/android/repository/repository.xml(Android Repository)和http://dl-ssl.google.com/android/repository/addon.xml(Third party Add-ons -> Google Inc. Add-ons)两个网页中的<sdk:url>标签,可以得到文件名,加上http://dl-ssl.google.com /android/repository/的前缀即可得到下载地址,使用迅雷等工具加速下载。

如,在Windows系统中,可以下载得到(2011.03.02更新,部分早期版本未列出):

工具
http://dl-ssl.google.com/android/repository/tools_r10-windows.zip

平台工具
http://dl-ssl.google.com/android/repository/platform-tools_r03-windows.zip

文档
http://dl-ssl.google.com/android/repository/docs-3.0_r01-linux.zip

Android开发包

http://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
http://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
http://dl-ssl.google.com/android/repository/android-2.1_r02-windows.zip
http://dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip
http://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-2.3.3_r01-linux.zip
http://dl-ssl.google.com/android/repository/android-3.0_r01-linux.zip

样例
http://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip

谷歌api的安装包
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-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_r01.zip
http://dl-ssl.google.com/android/repository/google_apis-11_r01.zip

Google Market
http://dl-ssl.google.com/android/repository/market_licensing-r01.zip
http://dl-ssl.google.com/android/repository/market_billing_r01.zip

USB驱动
http://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip

将下载得到的文件复制(注意!安装后temp文件夹下的文件将会被删除,因此应保留拷贝以便日后使用) 到Android\android-sdk-windows\temp文件夹下,打开SDK Manager执行安装过程。

更多相关文章

  1. Android文档阅读03—开发工具
  2. Android 基础 源码 工具
  3. Android SDK 21.1 发布,Android 开发工具包
  4. Google正式推出Android 3.2开发工具
  5. DroidDraw Android 界面设计工具使用

随机推荐

  1. Android消息机制 Handler
  2. android 实现由下至上弹出并位于屏幕底部
  3. Android(安卓)GPS状态改变与监听
  4. android 设置静态wifi地址
  5. Android(安卓)软键盘小知识点
  6. android短信发送器源代码
  7. android 客户端 smtp 协议发送数据
  8. Working with Images in Google's Androi
  9. android FlexboxLayout可伸缩布局
  10. Android(安卓)studio实现按钮的点击事件