android 開發包的離線安裝方式

來源:互聯網
上載者:User

安裝好eclipse後,在Android
SDK and AVD Manager下下載android的開發包超級慢,有時候要搞好幾個小時,面對這幾k的速度,真的是無奈。

為更快速安裝,可以採取離線安裝方法。即,先分別下載所需包,再安裝。從網上搜來的連結,用迅雷或者別的下載工具開啟,我在ubuntu下,用的是multiget。

Googleapi的安裝包

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

新的更新包,也是如此,只是舉例到此

參考網址:http://blog.csdn.net/DavidHsing/archive/2010/12/31/6108631.aspx

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.