在家安装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. Pycharm安装PyQt5的详细教程
  2. 箭头函数的基础使用
  3. NPM 和webpack 的基础使用
  4. Python list sort方法的具体使用
  5. 【阿里云镜像】使用阿里巴巴DNS镜像源——DNS配置教程
  6. Android中BindService方式使用的理解
  7. 自己收藏的Android开发的知识点各种传送门 持续更新中~~
  8. ArcGIS API for Android(安卓)案例教程 2
  9. Android依赖注入:Google Guice on Android

随机推荐

  1. Android 通过广播获取网络状态
  2. android 获取HOME组件的Activity信息
  3. 手机服务方面的小技巧集合
  4. android中Sensor 工作流程
  5. SQLiteOpenHelper数据库操作
  6. android使用webview时按后退退出的问题
  7. android edittext获取选中文字
  8. 修改Android中Layout布局文件字体的大小
  9. [Android]判断当前界面是否是桌面
  10. android 手机振幅控制