87

I want to Update my Android SDK Tool from 22.0.1 to 22.0.4

I also Have ADT installed, but could not update the SDK Tool to 22.0.4

I am facing the following issue :

Download interrupted: Read timed out issue.

Below is the screen shot while updating SDK :

enter image description here 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.

Pratik Butani
  • 51,868
  • 51
  • 228
  • 375
Bhavesh Patadiya
  • 25,555
  • 14
  • 76
  • 105

6 Answers6

178

I viewed the Eclipse ADT documentation and found out the way to get around this issue. I was able to Update My SDK Tool to 22.0.4 (Latest Version).

Solution is: First Update ADT to 22.0.4(Latest version) and then Update SDK Tool to 22.0.4(Latest Version)

The above link says,

ADT 22.0.4 is designed for use with 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

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. I thought only SDK Tool has been updated not ADT, so I was updating the SDK Tool with Older ADT Version (22.0.1).

How to Update your ADT to Latest Version

  1. In Eclipse go to Help
  2. Install New Software ---> Add
  3. inside Add Repository write the Name: ADT (or whatever you want)
  4. and Location: https://dl-ssl.google.com/android/eclipse/
  5. after loading you should get Developer Tools and NDK Plugins
  6. check both if you want to use the Native Developer Kit (NDK) in the future or check Developer Tool only
  7. click Next
  8. Finish
Bhavesh Patadiya
  • 25,555
  • 14
  • 76
  • 105
  • 2
    sounds like a stupid question but where should i download ADT 21.1.0 from? ok, i just found it on http://www.softpedia.com but that a pain of a site, all ads. is there no official place? – steveh Feb 14 '13 at 23:43
  • 4
    i just download a whole new adt from http://developer.android.com/sdk/index.html#download seems to be the best way – steveh Feb 15 '13 at 01:29
  • @Bhavesh That explains a lot. Thanks – Ajoy Feb 16 '13 at 16:35
  • 15
    Please make sure that you use the **HTTPS** version of the site. Do not use the built-in `Android Developer Tools Update Site` from eclipse (which uses HTTP). Otherwise, it will result to an error mentioned [here](http://stackoverflow.com/questions/9544071/an-error-occurred-while-collecting-items-to-be-installed-access-is-denied) `(An error occurred while collecting items to be installed session context)` – Jonathan Mar 25 '13 at 03:31
  • 2
    I want to second steveh's suggestion. Trying to update the Developer Tools manually breaks adt's integration. Downloading from scratch seems to work though. – Mustafa Alammar Apr 15 '13 at 01:05
  • 2
    I second steveh's comment. When I followed Bhavesh's steps, it broke the adt integration for me as well. Re-downloading from the android dev website works like a charm (you might have to reset the Eclipse workspace, but that's about it) – Xilconic Jun 02 '13 at 14:35
  • Really great answer or findings. it is also helped me. +1 – imdadhusen Jul 01 '13 at 12:26
  • 1
    Thanks for this, it helped me when I got the problem today. Eclipse really is a retarded tool. – Johan Jul 17 '13 at 08:11
  • Doesn't work for me. Eclipse complains that each package is already installed. If it's already installed, why doesn't it use it instead of complaining that it's not there? – Ogre Jul 24 '13 at 23:50
  • 1
    I couldn't get things to work through Eclipse no matter what I tried, so on Windows ran this command first from console window, then returned to Eclipse afterwards and was finally able to update: C:\Program Files\Android\android-sdk\tools>android.bat update sdk --no-ui – VicTorn Mar 20 '14 at 19:18
3

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

"Force https://... sources to be fetched using http://..."

Also, there was no place to put the proxy credentials, but it will prompt you for them.

vrtis
  • 659
  • 10
  • 8
  • I would urge others to try **unchecking** this option too as it helped me from on a mac behind a firewall. No idea why, but saves me pulling my hair out. – piratemurray Oct 15 '15 at 11:03
2

You may need to go to Window -> Android SDK Manager -> Packages -> Reload to fetch latest updates and then update the SDK.

Khaled
  • 2,071
  • 1
  • 16
  • 25
1

I faced the same issue, I tried the below solution and it worked for me In Android SDK Manager Window, click on Tools->Options-> under "Others", check "Force https://... sources to be fetched using http://..."

Jeevan
  • 7,674
  • 10
  • 45
  • 62
0

Have you tried this http://tools.android.com/preview-channel ? Download preview channel. After that, install ADT Preview.

ihsanhf
  • 400
  • 1
  • 7
  • 16
0

run Android SDK Manager as administrator. that solved my problem

sudo android

Ibrahim Benzer
  • 488
  • 6
  • 9