Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Problem installing the ADT Plugin for Eclipse

Tags:

android

I am trying to build an Android development environment on my PC. But I'm encountering some problems, and desperately need help. Operating System: Windows 7 (64 bit)
Installed components:

  • Android SDK (installer_r12-windows)
  • Eclipse Classic 3.7 for Windows 64 bit

I am trying to install the ADT Plugin for Eclipse but I'm having some trouble with it. I tried following the instructions listed on the official site (http://developer.android.com/sdk/eclipse-adt.html) but without success. I first tried setting the location for the new repository to

https://dl-ssl.google.com/android/eclipse/

as suggested, but I got the following error message:

Unable to connect to repository https://dl-ssl.google.com/android/eclipse/content.xml

(I tried using "http" instead of "https" but got the same results).

I then tried as suggested to download the ADT Plugin zip file, and set the location of the new repository to the local copy I downloaded. But, this time I couldn't go through with the installation because 'Android DDMS' caused the following problem:

Cannot complete the install because one or more required items could not be found. Software being installed: Android Development Tools 12.0.0.v201106281929-138431 (com.android.ide.eclipse.adt.feature.group 12.0.0.v201106281929-138431)

Can someone help?

like image 536
holly345 Avatar asked Aug 23 '11 16:08

holly345


3 Answers

Instead of the repository being

https://dl-ssl.google.com/android/eclipse/content.xml

it should be

https://dl-ssl.google.com/android/eclipse/site.xml

If you manually download the ZIP, you have to do a manual install (install the ZIP plugin, don't set the repository to the ZIP). I suggest doing it through the URL, though, so you automatically get updates.

like image 63
Chris Avatar answered Nov 15 '22 13:11

Chris


Eclipse -> Window -> Preferences -> General -> Network and unchecked my system’s proxies by choosing direct connection.

I was connected using a proxy, but it worked better in direct connection.

like image 25
Rajeshwar Avatar answered Nov 15 '22 12:11

Rajeshwar


i had the same trouble. I have windows 7 64 bit. At first look I installed JDK 7.02 64 bit, and after this article I installed JDK 7.02 32 bit too and the now http://dl-ssl.google.com/android/eclipse/ works correctly!

Thanks!

like image 41
Kuz Avatar answered Nov 15 '22 13:11

Kuz