android離線下載
『壹』 eclipse android sdk離線下載
有sdk的包,2G。不過我是拷貝的同學的,你可以找下。然後下個和adt同版本的sdk tools就可以了
『貳』 如何離線安裝android sdk
打開AndroidSDKManager可見大致分為三類下載:
第一個分類tools
第二個分類為各版本api
第三個分為Extras
從這三個類別中各選擇一個並開始下載,此時打開右下角的查看日誌按鈕(紅色手右邊的那個按鈕)可獲取讀取xml文件日誌。
(如提示無法下載成功,可能所處網路無法正常訪問下載地址,可在Tool>Options中勾選Forcehttps://...)
從認真查看日誌文件,發現規律如下:
先載入一個xml文件,解析該xml文件,再從該xml文件中獲取對應分類的文件的版本信息。
逐一打開這幾個xml文件,發現就是描述各分類文件的版本信息的,此時我們可從xml文件查看各文件名,只需該文件名填入到這個下載地址即可完成下載:
https://dl-ssl.google.com/android/repository/******.zip(後面這個******.zip是根據你需要下載的文件進行對應填充)。
系統鏡像地址前綴:
http://dl-ssl.google.com/android/repository/sysimg_armv7a-17_r02.zip
http://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-17_r01.zip
http://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-17_r01.zip
日誌結構大致如下:
Fetchinghttps://dl-ssl.google.com/android/repository/addons_list-2.xml
ValidateXML
ParseXML
FetchedAdd-onsListsuccessfully
FetchingURL:https://dl-ssl.google.com/android/repository/repository-8.xml
ValidateXML:https://dl-ssl.google.com/android/repository/repository-8.xml
ParseXML:https://dl-ssl.google.com/android/repository/repository-8.xml
FoundSDKPlatformAndroid1.1,API2,revision1(Obsolete)
FoundSDKPlatformAndroid1.5,API3,revision4
FoundSDKPlatformAndroid1.6,API4,revision3
...略去....
ParseXML:https://dl-ssl.google.com/android/repository/addon.xml
FoundGoogleAPIs,AndroidAPI3,revision3
FoundGoogleAPIs,AndroidAPI4,revision2
FoundGoogleAPIs,AndroidAPI5,revision1(Obsolete)
...略去......
FetchingURL:https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
ValidateXML:https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
ParseXML:https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
(HAXM),revision3
...略去......
ParseXML:https://dl-ssl.google.com/android/repository/sys-img/mips/sys-img.xml
FoundMIPSSystemImage,AndroidAPI15,revision1
FoundMIPSSystemImage,AndroidAPI16,revision4
FoundMIPSSystemImage,AndroidAPI17,revision1
...略去......
ParseXML:https://dl-ssl.google.com/android/repository/sys-img/x86/sys-img.xml
FoundIntelx86AtomSystemImage,AndroidAPI10,revision2
FoundIntelx86AtomSystemImage,AndroidAPI15,revision1
FoundIntelx86AtomSystemImage,AndroidAPI16,revision1
FoundIntelx86AtomSystemImage,AndroidAPI17,revision1
FoundIntelx86AtomSystemImage,AndroidAPI18,revision1
...略去......
『叄』 Android開發,高德離線地圖下載時會中斷下載,怎麼解決
有幾種情況:1、網路不穩定(這是最有可能的),因為在網路不穩定的情況下,為了保護你的流量,軟體會自動停止下載
2、內存不足。希望採納