简体   繁体   English

从22.0.1更新Android SDK工具到22.0.4(最新版本)

[英]Update Android SDK Tool to 22.0.4(Latest Version) from 22.0.1

I want to Update my Android SDK Tool from 22.0.1 to 22.0.4 我想将我的Android SDK工具从22.0.1更新到22.0.4

I also Have ADT installed, but could not update the SDK Tool to 22.0.4 我也安装了ADT,但无法将SDK工具更新到22.0.4

I am facing the following issue : 我面临以下问题:

Download interrupted: Read timed out issue.

Below is the screen shot while updating SDK : 以下是更新SDK时的屏幕截图:

在此输入图像描述 Can anyone help me : 谁能帮我 :

Thanks in Advance. 提前致谢。

EDITED : I Found the Solution For above problem and have added the Solution as an answer. 编辑:我找到了解决方案对于上述问题并添加了解决方案作为答案。 If anyone has the same problem, he/she can also solve this issue as explained. 如果有人遇到同样的问题,他/她也可以解释这个问题。

I viewed the Eclipse ADT documentation and found out the way to get around this issue. 我查看了Eclipse ADT文档并找到了解决此问题的方法。 I was able to Update My SDK Tool to 22.0.4 (Latest Version). 我能够将我的SDK工具更新到22.0.4(最新版本)。

Solution is: First Update ADT to 22.0.4(Latest version) and then Update SDK Tool to 22.0.4(Latest Version) 解决方案是:首先将ADT更新到22.0.4(最新版本),然后将SDK工具更新到22.0.4(最新版本)

The above link says, 上面的链接说,

ADT 22.0.4 is designed for use with SDK Tools r22.0.4 . ADT 22.0.4设计用于SDK Tools r22.0.4 If you haven't already installed SDK Tools r22.0.4 into your SDK, use the Android SDK Manager to do so 如果您尚未在SDK中安装SDK Tools r22.0.4 ,请使用Android SDK Manager执行此操作

What I had to do was update my ADT to 22.0.4 (Latest Version) and then I was able to update SDK tool to 22.0.4. 我要做的是将我的ADT更新到22.0.4(最新版本)然后我能够将SDK工具更新到22.0.4。 I thought only SDK Tool has been updated not ADT, so I was updating the SDK Tool with Older ADT Version (22.0.1). 我以为只有SDK工具已经更新而不是ADT,所以我用旧版ADT版本(22.0.1)更新了SDK工具。

How to Update your ADT to Latest Version 如何将ADT更新到最新版本

  1. In Eclipse go to Help 在Eclipse中转到Help
  2. Install New Software ---> Add Install New Software ---> Add
  3. inside Add Repository write the Name: ADT (or whatever you want) Add Repository写下Name: ADT (或任何你想要的)
  4. and Location: https://dl-ssl.google.com/android/eclipse/ 和位置: https://dl-ssl.google.com/android/eclipse/https://dl-ssl.google.com/android/eclipse/
  5. after loading you should get Developer Tools and NDK Plugins 加载后,您应该获得Developer ToolsNDK Plugins
  6. check both if you want to use the Native Developer Kit (NDK) in the future or check Developer Tool only 检查以后是否要使用Native Developer Kit(NDK)或仅检查Developer Tool
  7. click Next 单击Next
  8. Finish

I'm on OSX, I was using Android Studio instead of ADT and I had this issue, my problem was being behind a proxy with authentication, for what ever reason, In Android SDK Manager Window, under Preferences -> Others, I needed to uncheck the 我在OSX上,我使用的是Android Studio而不是ADT,我遇到了这个问题,我的问题是在身份验证的代理背后,出于任何原因,在Android SDK Manager窗口中,在Preferences - > Others下,我需要取消选中

"Force https://... sources to be fetched using http://..." “强制https:// ...使用http:// ...获取源代码”

Also, there was no place to put the proxy credentials, but it will prompt you for them. 此外,没有地方放置代理凭据,但它会提示您。

您可能需要转到Window - > Android SDK Manager - > Packages - > Reload以获取最新更新,然后更新SDK。

我遇到了同样的问题,我尝试了下面的解决方案,它适用于我在Android SDK Manager窗口中,单击“其他”下的工具 - >选项 - >,选中"Force https://... sources to be fetched using http://..."

Have you tried this http://tools.android.com/preview-channel ? 你试过这个http://tools.android.com/preview-channel吗? Download preview channel. 下载预览频道。 After that, install ADT Preview. 之后,安装ADT Preview。

run Android SDK Manager as administrator. 管理员身份运行Android SDK Manager that solved my problem 这解决了我的问题

sudo android sudo android

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 更新Android SDK 22.0.1后出现错误 - Error after updating Android SDK 22.0.1 Android:更新至最新版本的SDK - Android: Updating to latest version of SDK 此Android SDK需要Android Developer Toolkit 14.0.0或更高版本。 ...请将ADT更新到最新版本 - This Android SDK requires Android Developer Toolkit version 14.0.0 or above. … Please update ADT to the latest version 如何在Mac中安装最新的Android SDK工具 - How to install latest Android SDK tool in Mac SDK-tools更新版本后,Android应用程序崩溃(NoClassDefFound,工具版本22) - Android app crashes after SDK-tools update version (NoClassDefFound, tool version 22) 是否可以从我们的Android应用程序检查和更新最新的OS版本? - Is it possible to check and update latest OS version from our Android application? 该Android SDK需要Android Developer Toolkit -887826。 请更新ADT为最新版本 - This Android SDK requires Android Developer Toolkit -887826. Please update ADT to the latest version 最新版本的Geofire for Java(2.1.1)是否可以与最新的Firebase android sdk一起使用? - Will latest version of geofire for java (2.1.1) work with latest Firebase android sdk? 在最新版本的SDK中未调用Android Here SDK OnPositionChangedListener - Android Here SDK OnPositionChangedListener not called in latest version of SDK 强制更新最新版本的android应用 - Force update for the latest version of android app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM