android 开发包的离线安装方式

本文介绍如何通过离线安装Android SDK包来避免网络速度限制,提高安装效率。包括下载链接、解压步骤和注意事项。

FROM:http://blog.youkuaiyun.com/DavidHsing/archive/2010/12/31/6108631.aspx

 

家里网速太慢,还是用离线方式来安装SDK吧

 

安装好eclipse后,在Android SDK and AVD Manager下下载android的开发包超级慢,有时候要搞好几个小时,面对这几k的速度,真的是无奈。 
为更快速安装,可以采取离线安装方法。即,先分别下载所需包,再安装。从网上搜来的链接,用迅雷或者别的下载工具打开,我在ubuntu下,用的是multiget。 
谷歌api的安装包 
http://dl-ssl.google.com/android/repository/google_apis-5_r01.zip  
http://dl-ssl.google.com/android/repository/google_apis-6_r01.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 
Android开发包 
http://dl-ssl.google.com/android/repository/android-1.5_r04-linux.zip 
http://dl-ssl.google.com/android/repository/android-1.6_r03-linux.zip 
http://dl-ssl.google.com/android/repository/android-2.0_r01-linux.zip 
http://dl-ssl.google.com/android/repository/android-2.1_r02-linux.zip 
http://dl-ssl.google.com/android/repository/android-2.2_r02-linux.zip
http://dl-ssl.google.com/android/repository/android-2.3_r01-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
(ps:若是windows下,把linux改成windows便可)
(其实这个都是有规律的,如果有新版本了,只要把新版本的号替换,重新下载便可以了)
许可证 
http://dl-ssl.google.com/android/repository/market_licensing-r01.zip 
工具 
http://dl-ssl.google.com/android/repository/tools_r07-windows.zip 
文档 
http://dl-ssl.google.com/android/repository/docs-3.0_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.1_r01-linux.zip
http://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip
五,解压文档到指定目录 
把android开头的文件解压到platforms目录下 
把goole_apis开头的文件解压到add-ons目录下 
把market_licensing-r01.zip解压到market_licensing目录下 
把docs-2.2_r01-linux.zip解压到docs 
把samples-2.2_r01-linux.zip和samples-2.1_r01-linux.zip解压到samples目录下
需要改名字的地方注意: 
google_apis-6_r01 --> google_apis-6 
google_apis-7_r01 --> google_apis-7 
google_apis-8_r02 --> google_apis-8 android-2.1_r02  --> android-2.1 
android-2.2_r02  --> android-2.2   
samples-2.2_r01 --> samples-2.2 
samples-2.1_r01 --> samples-2.1 
新的更新包,也是如此,只是举例到此

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值