A T
A T

Reputation: 13826

Why doesn't Android appear in Eclipses' preferences?

I've installed the Android Developer tools as per the official instructions.

Installed apps

Why doesn't the tab appear in Windows->Preferences, as they said it should?

Eclipse preferences

Upvotes: 16

Views: 13037

Answers (9)

Tech
Tech

Reputation: 935

Same problem here. I've solved it like these:

  • Start Eclipse, then select Help > Install New Software.
  • Click Add, in the top-right corner.
  • In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location: https://dl-ssl.google.com/android/eclipse/
  • Click OK.
  • If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
  • In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  • In the next window, you'll see a list of the tools to be downloaded. Click Next. Read and accept the license agreements, then click Finish.
  • If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  • When the installation completes, restart Eclipse.

Followed from here

Upvotes: 0

Nikhil
Nikhil

Reputation: 16196

Remove the plugin, then restart as follows:

eclipse -clean

Now try reinstalling the ADT from the online installation

OR

Head over to Help -> Install New Software. Click on Available software sites. Delete the Android repo. Uncheck Indigo & Eclipse updates & recheck them. Now head back to Help -> Check for updates. Once done, add the Android repo again. Accept the license & you should be good to go.

Happy Coding..

Upvotes: 8

akkhatri
akkhatri

Reputation: 1

Which you are using eclipse id , i think you are not using proper id. For better reference visit below links

Hello-world-example

Installing-adt

Upvotes: 0

jolivier
jolivier

Reputation: 7635

I see you are on Windows, I had the same problem and in my case I had to run Eclipse as administrator to install the plugin, so uninstall it, restart eclipse as administrator and reinstall it. You don't need afterward to run eclipse as administrator just to use the plugin, its only required for the installation.

The root cause might be folders ownership problems, as quoted by others, when I had the same problem I tried setting folders ownership but I could not apply my permission changes so running as administrator eclipse was the easy way for me. If you are not allowed to run eclipse as administrator on your station then you should search on the ADT documentation which folder should be owned by the user running Eclipse.

Upvotes: 2

heretolearn
heretolearn

Reputation: 6545

There are chances that the plugin may not have been correctly installed. Try reinstalling the ADT. Or in the help menu check for the updates nad try installing through it. I hope it 'll solve your problem.

Upvotes: 1

skynet
skynet

Reputation: 9908

Check your plugins directory, located in the folder you extracted the original eclipse zip file to.

For me it is located in

eclipse-java-indigo-SR2-win32-x86_64\eclipse\plugins

and I see the following files related to the ADT plugin

com.android.ide.eclipse.adt_18.0.0.v201203301601-306762.jar
com.android.ide.eclipse.ddms_18.0.0.v201203301601-306762.jar
com.android.ide.eclipse.hierarchyviewer_18.0.0.v201203301601-306762.jar
com.android.ide.eclipse.traceview_18.0.0.v201203301601-306762.jar
overlay.com.android.ide.eclipse.adt.overlay_18.0.0.v201203301601-306762.jar

Make sure you have files similar to these.

Now open a shell and run the following in your eclipse install directory

eclipse.exe -console

you should get the osgi (Open Services Gateway Initiative) console. Now you can see whether your bundles have unresolved dependencies and start them manually. So try

osgi> diag com.android.ide.eclipse.adt

and

osgi> start com.android.ide.eclipse.adt

and check the output.

Upvotes: 3

Jean-Philippe Jodoin
Jean-Philippe Jodoin

Reputation: 4736

This won't fix your issue directly, but I suggest your take a look at the MOTODEV STUDIO for Android. Essentially, it's a customized Eclipse IDE with all the Android tools preinstalled and many more of their own tools for app validation. I find their tools usefull, especially the code snippets and the app validator. I believe you will need to register to download, but it's a quick and free process and you can always use a temporary email service. Anyway, this should allow you to get up and running until you find your bug (even if I don't see why you'd switch back to plain eclipse).

MOTODEV STUDIO for ANDROID

Upvotes: 4

gutiory
gutiory

Reputation: 1135

Check the answers in this post:

Maybe going to choose Help > Check for Updates or reinstalling ADT plugin again works.

Upvotes: 1

ankita gahoi
ankita gahoi

Reputation: 1562

Have you restarted eclipse after install of ADT plugin

Upvotes: 2

Related Questions