为什么安装失败? (下载完成错误的大小 - eclipse和android SDK管理器)

时间:2012-09-21 18:53:51

标签: android eclipse windows sdk

我遇到了这三个错误。没有网络断开。

(Eclipse classic 4.2 win 7 ultimate x64)

查看这些错误,您是否能够知道安装失败的原因?

Downloading ICS_R1, Android API 15, revision 3
Download finished with wrong size. Expected 117308250 bytes, got 779 bytes.

Downloading XOOM2ME, Android API 13, revision 2
Download finished with wrong size. Expected 122780710 bytes, got 779 bytes.

Downloading XOOM2, Android API 13, revision 2
Download finished with wrong size. Expected 123990783 bytes, got 779 bytes.

Downloading XOOM, Android API 11, revision 2
Download finished with wrong size. Expected 1785905 bytes, got 779 bytes.

Downloading ADMIRAL, Android API 10, revision 5
Download finished with wrong size. Expected 68883101 bytes, got 779 bytes.

Downloading ATRIX2, Android API 10, revision 2
Download finished with wrong size. Expected 73777114 bytes, got 779 bytes.

Downloading Bionic, Android API 10, revision 2
Download finished with wrong size. Expected 69035909 bytes, got 779 bytes.

Downloading defy+, Android API 10, revision 1
Download finished with wrong size. Expected 67177102 bytes, got 779 bytes.

Downloading Droid4, Android API 10, revision 2
Download finished with wrong size. Expected 81222260 bytes, got 779 bytes.

Downloading DroidRAZR, Android API 10, revision 5
Download finished with wrong size. Expected 80043807 bytes, got 779 bytes.

Downloading MotorolaPro+, Android API 10, revision 2
Download finished with wrong size. Expected 67795870 bytes, got 779 bytes.
Downloading MT870, Android API 10, revision 2
Download finished with wrong size. Expected 83816454 bytes, got 779 bytes.

Downloading MT917, Android API 10, revision 1
Download finished with wrong size. Expected 91311316 bytes, got 779 bytes.

Downloading PHOTON, Android API 10, revision 1
Download finished with wrong size. Expected 116663320 bytes, got 779 bytes.

Downloading XT882, Android API 10, revision 2
Download finished with wrong size. Expected 84944911 bytes, got 779 bytes.

Downloading XT928, Android API 10, revision 3
Download finished with wrong size. Expected 86664035 bytes, got 779 bytes.

完成。什么都没安装。

1 个答案:

答案 0 :(得分:10)

这意味着您的互联网连接速度不快或具有数据锁定。

尝试使用下载管理器直接下载。

  1. 下载来自谷歌的平台和apis。
  2. 打开SDK Manager

    将第一个状态栏地址复制到浏览器(https://dl-ssl.google.com/android/repository/repository-7.xml或http)

    1. 下载其他制造商apis
    2. SDK Manager>工具>管理加载项网站

      将所需地址复制到浏览器

      找到您的包裹下载地址。 像这样

         <sdk:archives>
           <sdk:archive os="any">
             <sdk:size>27230698</sdk:size>
             <sdk:checksum type="sha1">2d9ca1f0034d431b7f5096d3b4dd3574ac848d46</sdk:checksum>
             <sdk:url>
               http://dl.htcdev.com/sdk/download/htc_opensense_sdk.zip ==> this is address
             </sdk:url>
           </sdk:archive>
         </sdk:archives>
      
      1. 如果地址只是一个文件名Like(android-3.0-windows.zip)用地址栏中的api xml文件替换文件名,请(http://dl-ssl.google.com /android/repository/repository-7.xml)至(http://dl-ssl.google.com/android/repository/android-3.0-windows.zip)

      2. 确保协议不是https

      3. 下载文件。

        接下来在android安装的dir(C:\ Program Files(x86)\ Android \ android-sdk)中创建一个文件夹并将其重命名为“temp”。将下载的zip文件放在临时文件夹中,然后尝试使用SDK Manager进行安装。