Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Indigo Android ADT - install OK, no "Android" option in Preferences and New Project

I have Eclipse (Indigo Service Release 1, Build id: 20110916-0149) running on Win XP.

I've added https://dl-ssl.google.com/android/eclipse/ and installed 4 plugins, including ADT, and restarted Eclipse. Installed software list shows Android plugins are installed.

But nothing appears in Preferences, and there are no Android-type project in New Projects.

Later I check Eclipse's directories and there were four *.jar archives with these Android plugins, and they weren't unzipped to corresponding directories (like other plugins). I unpacked them so directories same as *.jar names, and started Eclipse again, but nothing happens.

How can I work with ADT plugin in Eclipse?

like image 252
Pavel Avatar asked Dec 31 '11 23:12

Pavel


4 Answers

I just had the same problem on windows 7 running Indigo. I eventually discovered that I had accidentally not run Eclipse as an administrator when I installed the ADT plugin. I solved the issue by uninstalling the ADT plugin, and then re-installing the ADT plugin when running Eclipse as an administrator. Once I did that Eclipse restarted and immediately prompted me for the location of my android SDK.

As far as steps go:

  1. Run Eclipse as Administrator
  2. Go to Help > About Eclipse SDK > Installation Details
  3. Select Android DDMS, Android Development Tools, Android Hierarchy Viewer, and Android Traceview
  4. Click Uninstall and click through the dialogs
  5. Restart Eclipse at the prompt
  6. Close Eclipse and re-run it as an administrator (not sure if this was necessary but I wanted be sure Eclipse had full permissions when I reinstalled the ADT Plugin)
  7. Re-install the ADT plugin the way you did before.
  8. Restart Eclipse at the prompt.
like image 170
Omn Avatar answered Oct 10 '22 05:10

Omn


Q: Did you install the Android SDK?

You need to do this in addition to installing a) Java, b) Eclipse and c) the Android plugins for Eclipse

Here's one (of many!) "Quick Start Guides" for setting up Android on your development PC:

http://www.talkandroid.com/guides/developer/android-sdk-install-guide/

PS: Please don't "unpack" anything, except unzipping Eclipse itself.

You might actually wish to delete your install and re-install from scratch (just to make sure there isn't anything "weird" in your environment).

like image 33
paulsm4 Avatar answered Oct 10 '22 03:10

paulsm4


Well i had this issue as well, but what i see its one componment that isnt on the google servers (at least for indigo) com.android.ide.eclipse.adt_20.0.0.v201206242043-391819.jar you need download the ADT from google server ADT 20.00 and the install new software in help menu as always In the Add Site dialog, click Archive. Browse and select the downloaded zip file. Enter a name for the local update site (e.g., "ADT-20.0.0.zip") in the "Name" field. Click OK. and done choose the ADT developer that i bet you dont have installed that should fix the problem ;)

like image 20
Javier Avatar answered Oct 10 '22 03:10

Javier


I tried everything and nothing worked until I made my JAVA_HOME and PATH point to my JDK 6, they were pointing to the 5, then before installing the ADT plugin, make sure Eclipse is using the JDK 6 in Preferences/Java/Installed JREs. Of course make sure you are running/installing everything as an administrator.

like image 26
davidmontoyago Avatar answered Oct 10 '22 05:10

davidmontoyago