下载android sdk更新包离线安装解决方案
本文转载自:http://xljboox.blog.163.com/blog/static/7628448320111159354738/
第一次安装android sdk后进行开发包的更新,你应该了解到需要的时间会很长,那么是否有办法提升安
装的进度呢?办法自然是有的,这里提供一个取巧的方法,不会太麻烦,又能加快android开发环境的部
署过程。具体请参考如下。
1、通过访问和分析android更新列表的xml在线地址
**************************************
https://dl-ssl.google.com/android/repository/repository-5.xml
<Windows>
https://dl-ssl.google.com/android/repository/android-1.1_r1-windows.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-windows.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-windows.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-windows.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-windows.zip
https://dl-ssl.google.com/android/repository/tools_r15-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r09-windows.zip
https://dl-ssl.google.com/android/repository/platform-tools_r10-windows.zip
https://dl-ssl.google.com/android/repository/tools_r16-windows.zip
<macosx>
https://dl-ssl.google.com/android/repository/android-1.1_r1-macosx.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-macosx.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-macosx.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-macosx.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-macosx.zip
https://dl-ssl.google.com/android/repository/tools_r15-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r09-macosx.zip
https://dl-ssl.google.com/android/repository/platform-tools_r10-macosx.zip
https://dl-ssl.google.com/android/repository/tools_r16-macosx.zip
<Linux>
https://dl-ssl.google.com/android/repository/android-1.1_r1-linux.zip
https://dl-ssl.google.com/android/repository/android-1.5_r04-linux.zip
https://dl-ssl.google.com/android/repository/android-1.6_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-2.0_r01-linux.zip
https://dl-ssl.google.com/android/repository/android-2.0.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r09-linux.zip
https://dl-ssl.google.com/android/repository/tools_r15-linux.zip
https://dl-ssl.google.com/android/repository/platform-tools_r10-linux.zip
https://dl-ssl.google.com/android/repository/tools_r16-linux.zip
<any>
https://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r01.zip
https://dl-ssl.google.com/android/repository/android-14_r01.zip
https://dl-ssl.google.com/android/repository/samples-2.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-2.3.3_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.0_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.1_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-3.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-14_r01.zip
https://dl-ssl.google.com/android/repository/docs-14_r01.zip
https://dl-ssl.google.com/android/repository/support_r04.zip
https://dl-ssl.google.com/android/repository/android-2.1_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-2.3.1_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-3.0_r02-linux.zip
https://dl-ssl.google.com/android/repository/android-3.1_r03-linux.zip
https://dl-ssl.google.com/android/repository/android-3.2_r01-linux.zip
https://dl-ssl.google.com/android/repository/samples-14_r02.zip
https://dl-ssl.google.com/android/repository/samples-15_r01.zip
https://dl-ssl.google.com/android/repository/docs-15_r01.zip
https://dl-ssl.google.com/android/repository/sources-14_r01.zip
https://dl-ssl.google.com/android/repository/sources-15_r01.zip
https://dl-ssl.google.com/android/repository/support_r06.zip
**********************************
https://dl-ssl.google.com/android/repository/addons_list-1.xml
(1)Google Inc
<any>
https://dl-ssl.google.com/android/repository/google_apis-3-r03.zip
https://dl-ssl.google.com/android/repository/google_apis-4_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-5_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-6_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-7_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-9_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-10_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-11_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-12_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-13_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-14_r01.zip
https://dl-ssl.google.com/android/repository/google_apis-14_r02.zip
https://dl-ssl.google.com/android/repository/google_apis-15_r01.zip
https://dl-ssl.google.com/android/repository/market_licensing-r01.zip
https://dl-ssl.google.com/android/repository/webdriver_r02.zip
https://dl.google.com/gaformobileapps/GoogleAnalyticsAndroid_1.4.2.zip
https://dl-ssl.google.com/android/repository/market_billing_r01.zip
https://dl-ssl.google.com/googleadmobadssdk/googleadmobadssdkandroid-4.3.1.zip
<linux>
https://dl-ssl.google.com/android/repository/google_tv-12_r02.zip
<windows>
https://dl-ssl.google.com/android/repository/usb_driver_r04-windows.zip
(2)KYOCERA Corporation
http://dl.kyocera-wireless.com/echobykyocera.com/ECHO-SDK-v1-03.zip
http://dl.kyocera-wireless.com/echobykyocera.com/ECHO-SDK-v2-00.zip
(3)LG Electronics
http://developer.lgmobile.com/sdk/android/Real3D_SDK_api-10_r01.zip
http://developer.lgmobile.com/sdk/android/Real3D_addon_api-8_r01.zip
(4)Samsung Electronics
http://innovator.samsungmobile.com/android/repository/addon_samsung_GT_2.2_api-8_r01.zip
(5)Sony Ericsson
http://dl-developer.sonyericsson.com/edk/android/edk_1_2_release.zip
2. 使用迅雷等P2P下载工具,复制获得的更新包下载地址进行下载。基于P2P工具共享下载原理,在你的
网络畅通之前提下,下载速度会很快。
3. 在android sdk安装目录下查找Temp文件夹<如android-sdk-linux-x86/temp>,如果没有请创建。然后
将下载所得的离线包放到Temp文件夹下(因为正常更新时会将更新包下载至这里)。
4. 以正常方式进行更新,你将会发现,它开始跳过Downloading 直接进行Installing了
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。