Shumaila Khan
Shumaila Khan

Reputation: 89

adt plugin update failed

i am trying to update my ADT plugin from 18 to 20 but it is not working..

please help me and suggest .

i am getting these kind of errors

 - Some sites could not be found.  See the error log for more detail.
 - HTTP Method Not Allowed: http://developer.android.com/tools/sdk/eclipse/content.xml
 - HttpClient connection error response code 405.
 - HTTP Method Not Allowed: http://developer.android.com/tools/sdk/eclipse-adt.html/content.xml
 - HttpClient connection error response code 405.

Upvotes: 1

Views: 3084

Answers (4)

Cludex
Cludex

Reputation: 21

try to change ADT location to this https://dl-ssl.google.com/android/eclipse/

Help -> Install New Software -> Available Soft Sites -> ADT -> Edit

Upvotes: 2

federico
federico

Reputation: 11

due to descript in http://developer.android.com/sdk/installing/installing-adt.html :

Troubleshooting Installation If you are having trouble downloading the ADT plugin after following the steps above, here are some suggestions:

If Eclipse can not find the remote update site containing the ADT plugin, try changing the remote site URL to use http, rather than https. That is, set the Location for the remote site to: http://dl-ssl.google.com/android/eclipse/

Upvotes: 1

Frank Yin
Frank Yin

Reputation: 1990

I had the exact same problem, and I'm not sure about the root cause, but here's how I worked-around it. Not completely fixed but this allows me to compile and run, so I can continue development:

  1. Download manual ADT Update, using this link: http://developer.android.com/sdk/installing/installing-adt.html (zip file link at the bottom)

  2. In Eclipse, Help -> Install New Software -> Add -> Archive (and select the downloaded zip) Only choose select the Developer Tools checkbox, leave NDK Plugins unchecked (having it checked gave me more errors)

  3. Restart Eclipse

Upvotes: 3

faizanjehangir
faizanjehangir

Reputation: 2831

Try using https protocol rather than just http, works for me some times

Upvotes: 8

Related Questions