标签:des android style http io ar color os sp
$ android update sdk -u -a
得到:
Fetching URL: https://dl-ssl.google.com/android/repository/repository-10.xml
Validate XML: https://dl-ssl.google.com/android/repository/repository-8.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-8.xml, reason: HttpHostConnect Connection to https://dl-ssl.google.com refused
Parse XML: https://dl-ssl.google.com/android/repository/repository-8.xml
Fetching URL: https://dl-ssl.google.com/android/repository/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon.xml
Parse XML: https://dl-ssl.google.com/android/repository/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/addon-6.xml
Validate XML: https://dl-ssl.google.com/android/repository/addon-6.xml
Parse XML: https://dl-ssl.google.com/android/repository/addon-6.xml
Fetching URL: https://dl-ssl.google.com/glass/gdk/addon.xml
Validate XML: https://dl-ssl.google.com/glass/gdk/addon.xml
Parse XML: https://dl-ssl.google.com/glass/gdk/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Validate XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Parse XML: https://dl-ssl.google.com/android/repository/extras/intel/addon.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Parse XML: https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Parse XML: https://dl-ssl.google.com/android/repository/sys-img/android-wear/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Parse XML: https://dl-ssl.google.com/android/repository/sys-img/android-tv/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
Validate XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
Parse XML: https://dl-ssl.google.com/android/repository/sys-img/google_apis/sys-img.xml
Fetching URL: https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/sys-img/x86/addon-x86.xml/addon.xml
这里有gdk,sysimg,addons等的配置文件地址。
wget或者浏览器得到xml,比如:
打开 https://dl-ssl.google.com/android/repository/sys-img/android/sys-img.xml
<sdk:system-image> <!-- Generated at Thu Dec 5 14:04:05 2013 from git_klp-dev @ 938007 --> <sdk:revision>2</sdk:revision> <sdk:description>Android SDK Platform 4.4.2</sdk:description> <sdk:api-level>19</sdk:api-level> <sdk:abi>armeabi-v7a</sdk:abi> <sdk:archives><sdk:archive> <sdk:size>158478012</sdk:size> <sdk:checksum type="sha1">e0d375397e28e3d5d9577a00132463a4696248e5</sdk:checksum> <sdk:url>sysimg_armv7a-19_r02.zip</sdk:url> </sdk:archive> </sdk:archives> <sdk:uses-license ref="android-sdk-license"/> <sdk:tag-id>default</sdk:tag-id> </sdk:system-image> <sdk:system-image>
其中
<sdk:url>sysimg_armv7a-19_r02.zip</sdk:url>
就是sysimg arm -19的system image
然后下载地址就是xml地址去掉xml之后加上sysimg文件地址
也就是:https://dl-ssl.google.com/android/repository/sys-img/android/sysimg_armv7a-19_r02.zip
然后wget或者浏览器下载。
下载完解压放在相应目录
其中sdk放在sdkroot/platforms/下
sysimg放在sdkroot/system-images/android-xx下(xx表示版本比如上面的例子就是-19)
注意上面这些目录可以新建,然后允许android sdk manager看到installed状态就说明成功手动安装。
手工下载android sdk或者system images或其他
标签:des android style http io ar color os sp
原文地址:http://my.oschina.net/u/862582/blog/349263