Why doesn't Android appear in Eclipses' preferences?

夙愿已清 提交于 2020-05-12 11:16:50

问题


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


回答1:


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




回答2:


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..




回答3:


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.




回答4:


Have you restarted eclipse after install of ADT plugin




回答5:


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.




回答6:


Check the answers in this post:

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




回答7:


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.




回答8:


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




回答9:


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



来源:https://stackoverflow.com/questions/10310028/why-doesnt-android-appear-in-eclipses-preferences

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!