android missing in eclipse - android

i just updated eclipse using Help > Check for Updates, but after i restarted eclipse, everything Android related in it just went missing, i can't create an Android project, can't find my AVD manager, etc. i tried reinstalling the ADT plugin using Help > install new software, but it says that the ADT was already installed.
i'm lost here, anybody can help? thank you so much

For me it was that registry key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\1.6 was missing. In order to get the Oracle 1.6 installer to run, I'd purged a few too many "1.6" registry keys. Symptom: running "java" from a command window complained about a missing JRE DLL.
I think Eclipse somehow reverted to JDK 1.4 which I had in PATH. I manually restored the registry key, logged out and into Windows, and ADK options reappeared in Eclipse.

I had the same Issue on Juno today. Searched for hours for a solution to what I assumed would be a common bug none found.
Like you I reinstalled Eclipse
I would just like to provide an additional detail which could help.
I extracted the new downloaded Eclipse version on top of the old. I replaced (yes to all) files with the same name. Doing it like this I preserved all my plugins and environment and it was no problem getting working again no damage.

In Windows 7 there seems to be some sort of permission issue (and opening Eclipse with Admin privileges doesn't help). Open the SDK MAnager (Windows Start->All Programs->Android SDK Tools->SDK Manager) with Admin permissions, and install any dependencies that aren't installed. Then restart Eclipse

Related

Still have error even though ADT has been updated for Eclipse [duplicate]

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error:
This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is 22.6.3.v201404151837-1123206. Please update ADT to the latest version.
No updates were found with "Check for updates". If I try "Install new software", I can see version 23, but I can't upgrade due to the following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
Only one of the following can be installed at once:
ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206)
ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622)
Cannot satisfy dependency:
From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.adt.package [23.0.0.1245622]
Cannot satisfy dependency:
From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
To: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206]
Cannot satisfy dependency:
From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290)
To: com.android.ide.eclipse.adt.feature.group 22.2.0
Cannot satisfy dependency:
From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290)
To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]
After download of the last ADT from the web site, it seems there's another problem.
With SDK Tools rev. 23 proguard is not installed, the folder SDK dir/tools/proguard is missing, and other tools are missing. This version contains several bugs.
Google has released ADT v23.0.2. This solved many problems of previous ADT version 23.
Step-by-step:
Menu Help → Install New Software...
For "Work with", select the Android source https://dl-ssl.google.com/android/eclipse
Tick ADT v23.0 for installation, then click "Next"
Eclipse will show "Install Remediation Page" since there is conflict with previous version. (If it does not, see below.) Select "Update my installation to be compatible with items being installed" to uninstall the old version and install the new one. After that, proceed with the usual steps.
Note: When I installed the new version of ADT, I didn't include the new version of "Android Native Development Tools" package. Instead, I installed the rest of packages first, and then installed "Android Native Development Tools". For a reason, if I try to install all the new packages including "Android Native Development Tools", the installation fails.
If there is no "Remediation page", the only way to remove the ADT plugin from Eclipse is to go to menu Help → About Eclipse → Installation Details and uninstall from there. But there is a risk of uninstalling Eclipse itself.
Google response:
This is a packaging bug. The entire proguard file is missing. We'll have an update asap, but until then just copy it over from a previous version of the tools:
http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
So at the end if you started from a new ADT copy by hand the files :)
Edit: with the latest ADT release, the bundle should now work with auto-update, so install these new versions:
linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Don't try to upgrade from previous version because it doesn’t work at all.
If you have got problems with zipalign, it's now under build-tools and no more under tools/ so you can do a symbolic link or just copy it into the expected folder.
None of the other answers worked for me using the ADT bundle published on developer.android.com.
I ended up downloading the latest version of Eclipse (not the ADT bundle) and then installing the ADT plugin via menu Help → Install new software → entering https://dl-ssl.google.com/android/eclipse (mentioned by #RED_).
I also had to update my workspace to point to my previous workspace, and most things seemed to be restored.
On a side note: This seems like a good time to migrate to Android Studio...
NOTE: Use this approach with caution because this might break your Eclipse installation (see comments).
This might help you if you installed the ADT plugin manually. But if you are using the version of Eclipse from the Eclipse ADT Bundle the below steps could break your Eclipse installation, and you may not be able to use Eclipse again!
Go to
Menu Help → About Eclipse SDK → Installation Details.
Now you will see all 22.0 versions and then click Uninstall button at bottom.
After uninstallation goto:
Menu Help → Install New Software → enter http://dl-ssl.google.com/android/eclipse/
Then install all the things, and now it is ready.
I was updating my build server today and came across the same issue. It has been reported here:
https://code.google.com/p/android/issues/detail?id=72419
The fix is in progress and the work around according to the project manager is:
Please wait for an updated version within a day or two. Until then, your workaround is to do download one of
http://dl.google.com/android/android-sdk_r22.6.2-linux.tgz
http://dl.google.com/android/android-sdk_r22.6.2-windows.zip
http://dl.google.com/android/android-sdk_r22.6.2-macosx.zip
and copy over the following files:
tools/hprof-conv
tools/support/annotations.jar
tools/proguard
[edit]
zipalign was missing for me too, check to see if you need to copy this as well
It works for me :)
If for some reason you installed an ADT preview and need to revert back to the current stable, you can't use the dialog to install "new" software since what you want is actually an older one. Instead do this:
Open Help > About Eclipse... on Windows or Linux. On Mac, use the app's menu > About...
Click the "Installation Details" button.
Select the "Installation History" tab.
Select one of the previous configurations.
Click the "Revert" button at the bottom.
is what they are saying about this:
OK, guys, sorry about all this trouble, and we apologize for the messed up releases. Here's the summary:
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from here:
Linux 64-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32-bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64-bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.
Source: https://code.google.com/p/android/issues/detail?id=72912
I have done following to resolve an issue.
Go to http://developer.android.com/sdk/installing/installing-adt.html and download the latest ADT ZIP file (at the bottom of page).
Go to Eclipse → menu Help → About Eclipse → Installation details
Delete Android DDM, Android Development Tools, Hierarchy Viewer, Native Development Tools, TraceView, etc., 22.X version.
Menu Help* → Install New Software → Add → Archive → *Select the downloaded ZIP file in step 1.
Select all the latest version of all 23 which I have deleted in step 3 and accept the license agreement.
Restart Eclipse, and it fixes my issue.
Only helped:
Fresh Eclipse installation (http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/lunar)
Help --> Install New Software --> https://dl-ssl.google.com/android/eclipse/
If you install a new Eclipse version it will work.
Here's what I did:
Installed the new Eclipse version, Luna
Made a backup of the current workspace.
Ran the new Eclipse, Luna, and updated the workspace
Installed the ADT plugin (Help -> Install New Software)
Restarted Eclipse
Done
There is a lot of confusion going around in this thread. There are two solutions depending on how you installed ADT.
If you installed the ADT plugin manually then I believe you can use the "Delete ADT" -> "Install New Software" approach.
If you are using the ADT Bundle then do not follow that solution! You will break Eclipse. Here is an update from a Google member - read #18:
https://code.google.com/p/android/issues/detail?id=72912
You must download a new version of the ADT-Bundle (yep, it's frustrating!).
Just uninstall the previous ADT.
Go to menu Help → About Eclipse → Installation Details
Uninstall all plugins which Id start with com.android.ide
Install ADT again from the update site.
DO NOT DO THIS
Warning: Please see the comments below this answer. These steps have had a negative impact for many people.
Click Help / Install new software...
Click on What is "already installed" (as in picture below)
In the new window you can uninstall the old ADT (uninstall Android Development Tools, Android DDMS, Android Hierarchy Viewer, Android TraceView, Android Native Development Tools and Tracer for OpenGL ES)
Restart Eclipse
Then again click on Help / Install New Software
Choose ADT... Install
I hope it helps!
After trying the approaches in other answers without success, I just installed a new bundle from http://developer.android.com/sdk/installing/index.html?pkg=adt and that worked fine.
Do the following:
As you don't want to re-download all the platforms again, copy the existing one from /OLD_ANDROID_SDK_PATH/sdk/platforms to /NEW_ANDROID_SDK_PATH/sdk/platforms.
When opening the new Eclipse from the recent downloaded bundle, make sure you reuse the previous 'workspace' folder. That will ensure that all your previous settings will be remembered.
After opening the new Eclipse on the previous workspace, please check if the used Android SDK is pointing to the new one (Eclipse preferences -> Android). It might be pointing to the old one, as you've reused the previews workspace settings.
With these steps, you should't have to reconfigure everything, and you won't need to spend time troubleshooting this BUG on this upgrade from Google Developers.
Good luck! ;-)
You need to uninstall the old version and install 23
uninstall:
Help > about Eclipse SDK > Installation Details
select Android related packages to uninstall
And then install V23.
There is no way to update an existing ADT bundle that you might have downloaded.
You can do one of two options:
Install Eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse
Download bundles from:
Linux 64 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
Linux 32 bit VM: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Windows 32 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Windows 64 bit: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.
I was getting the same "conflicting dependency" error on Mac OS X 10.9.3 and simply upgrading was not an option. What finally worked was downloading the latest Eclipse ADT bundle zip file from developer.android.com, extracting it and moving only "eclipse" folder to the place where my old eclipse folder was. (extracting the Eclipse ADT bundle zip file will give you "eclipse" and "sdk" folders).
If you decide to go the same route, first make sure you know what your Workspace path is. This can be found in Preferences. Then rename your old "eclipse" directory (not Eclipse.app) to something like eclipse-22.6.3, then move extracted "eclipse" folder into its place. Run new Eclipse.app inside, and when it asks you about Workspace, just enter the same path as you noted above. Or it can also be set later in Preferences.
Maybe worth adding is that to re-enable Android SDK Manager and Android Virtual Device Manager choose Window -> Customize Perspective -> Command Groups Availability and select Android SDK and AVD Manager. This will add these 2 items to the "Window" menu item for the current perspective (Java).
I didn't move the extracted "sdk" folder, because I already had sdk folder in the same directory as eclipse, which I have already updated to the latest Android tools. But if it makes you feel safer, you can also rename your old sdk folder (for backup purposes) and move the freshly extracted one into its place.
I faced the same problem and solved it. You need to uninstall the Android plugin entirely from within Eclipse (from the "about" section..), including trace view..
Then added the ADT Plugin again (https://dl-ssl.google.com/android/eclipse/) and install it.
The problem is solved!
I guess it's a bug with the SDK manager or ADT Plugin update mechanism...
How to update from 22.xx.x to 23.0.2 (my solution). This will beat the dependency issues.
I was suffering from this issue for days, and I have tried every single solution on this link, but no luck. I finally figured out a solution that actually works!
Please note that this solution works in Windows 7 (64 bit). It should probably work for other Windows operating systems.
Here we go:
download the latest ADT bundle from
http://developer.android.com/sdk/index.html#download
unzip it and open "eclipse" folder --> "plugins" folder
Now go to your old eclipse and open "eclipse" folder --> "plugins" folder, and copy everything inside.
Now paste them into the "plugins" folder of the (NEW ECLIPSE), but DO NOT overwrite anything.
While inside of the "plugins" folder of your new Eclipse, do the search. Type in 22. (notice 22 with a dot) and hit enter.
The search result will show up all the files or folders with .....22.6...... For example,
com.android.ide.eclipse.adt_**22.6.2**.v201403212031-1085508
Highlight all of these files/folders and hit delete key.
Make sure to update your old API/SDK to the latest version and load this sdk directory to work with your new eclipse.
or
You can watch this video, which shows you how to move all your SDK/API to your new SDK folder.
Link: https://www.youtube.com/watch?v=jPZpJdnbbN0
I have not tried to update from any other ADT versions, but I think it should work for any old ADT versions too.
Don't forget to backup stuff before attempting.
What I have just found is that you need to update your ADT plugin in your Eclipse (whether stand alone or ADT Bundle) before updating your build tool.
If your Eclipse installation points to the most recent Build Tool and your Eclipse is having ADT 22.x, it will show those errors.
What worked for me: (on Ubuntu 14.04 64-bit)
Installed an older version of Eclipse and ADT (from the Bundle)
This copy of Eclipse was pointing to an older SDK verion with old build tools (before 20)
Updated the ADT to v23 (via archive, in my case)
Pointed Eclipse to the latest version of build tools.
You may not have an older copy of Eclipse and Build tools, in that case you can uninstall latest build tool from SDK Manager and install the older copy.
Once everything starts working fine, do the above steps.
I am trying to upload older copies of such bundles somewhere on the Internet, will update the links here, once I am done uploading.
I found these instructions in a comment.
Download the newest version of ADT and use your existing workspace. This is actually the least pain-full upgrade you'll ever do. It didn't mess with the .android folder so I still had my original debug key. Only things missing were a couple of add ons I hardly ever use and they are easily installed into the new version.
Note don't install into your existing adt folder create a new folder so you can still fall back if the new install doesn't work.
On ADT-bundled Eclipse I had to first uninstall the ADT and then do a fresh install.
To remove the ADT plugin from Eclipse:
Go to menu Help → About Eclipse → Installation Details.
Select ADT plug-in, then click Uninstall.
After uninstallation install ADT from Help → Install new software.
For me it helped to delete Android 4.4W which is also API 20 and might be a cause for the conflict. So only install Android 4.4W or Android L until they fix it.
And (again this might only be for me) it only works in Android Studio not in Eclipse ...
I had to delete ADT and install it again.
However be warned, this caused me and one other person to have an annotations.jar missing errors in the Java Build path for certain projects, probably because it was trying to look for an old SDK, so upgrading projects is the next step I have to take.
The errors relate to libraries mostly, Google Play Services, Facebook SDK, ActionBarCompat.
For this step, you uninstall ADT, then put the URL back in to download them. The url is: https://dl-ssl.google.com/android/eclipse
I found a solution for the problem with "conflicting dependency". I don't have the same page of Daniel Díaz's response, but a page show "conflicting dependency", and I can't make anything.
The problem is that I'm not the owner of the file. Eclipse was installed in other session (on OS X). I have the right to read and write the Eclipse file, but I'm not the owner. Make a "chown" command on all Eclipse files to solve the problem. After, I have the same result as Daniel Diaz.
I hope this helps someone.
WARNING
There is now an update for ADT 23.0.1, but the Windows and Linux scripts are messed up, so wait with the upgrade!
You could check for example tools/proguard/bin/*.sh in http://dl.google.com/android/android-sdk_r23.0.1-windows.zip.
I did this to solve the same issue (in OS X):
Help > Install New Software > Add or select this repository "http://download.eclipse.org/eclipse/updates/4.3"
Under "Eclipse platform" select the newest version of Eclipse.
The installer will ask if you want to uninstall the ADT, click finish.
Restart Eclipse and install ONLY the ADT 23 using this repository: https://dl-ssl.google.com/android/eclipse.
Restart Eclipse and install DDMS, Hierarchy Viewer, Trace View etc.
Restart Eclipse again.
Hope it helps.
If Eclipse gives an error after uninstalling the ADT plugin from your Eclipse installation, try to edit file config.ini in the Eclipse folder → configuration. Find:
eclipse.application=
And change it to:
eclipse.application=org.eclipse.ui.ide.workbench
I hope it works for you too.
I simply went to my Android resources folder on my C:/ drive (C:/Android), deleted the 'eclipse' folder and all its contents. I downloaded Android Developer Tools once more and just moved over the 'eclipse' folder.
I started up and everything was fine; I had updated to version 23.
Hopefully this helps, possibly not suitable for everyone as some of you have Eclipse modifications but for someone who, like me, wanted a quick fix and get back to developing this seemed to be the easiest path.
I am using Eclipse v4.3 (Kepler), and this is how I solved my problem.
Goto menu Help → Install new software → click Add.
In the popup, give any name (I named it as Eclipse ADT Plugin), and in the link's place, use https://dl-ssl.google.com/android/eclipse/
Once you click OK, you will be displayed with new packages that will be installed and old packages that will be deleted. Don't worry about these packages. Click OK.
New packages will be installed, and this should solve your problem.

No Android Project option on Eclipse Juno

Alright, same problem as here: "Android" missing in my "Eclipse Juno 4.1" preferences
But in my case, i already had the ADT installed ( i think?)
But, when I go to preferences or start a new project, there is no option related to android, what could i possibly did wrong?
Just uninstall the Android packages in eclipse and then re-install them, this likely occurred because the Eclipse packages were being installed whilst or before the Android SDK was downloaded and installed.
Did you install the android sdk before installing the plugin in Eclipse?
Is what I do yesterday and it works. First install de sdk and later install the plugin in eclipse.
Alright, i got it to work, even though i am not too sure which one did the trick, but what I did is change everything to 32-bit version (I was using 64-bit version). This includes the uninstalling JDK and eclipse and re-installing the 32-bit version of them (and of course, restarting the computer, even though i did this before).
It is working now, but I'm not sure if it was the re-installing of JDK or switching to 32-bit version that solves the problem.
Thanks, very helpful :-). I tried a lot of things ... I used the Classic version instead of the JavaEE one, tried Indigo instead of Juno ... set a different JDK ... but in my case eventually downloading the 64-bit version of Eclipse did the trick! So maybe the JDK and Eclipse must be compatible somehow ...
After some distress I found it under File -> New -> Other -> Android from the menubar. Now to figure out how to get it under the New menu directly.

ADT Can't find the tools directory

Ok, everything was working fine, I had the ADT 0.9 installed under eclipse Galileo. But then I just tryied to install the Honeycomb preview SDK and for that I was prompted to install the ADT 9.0.
The problem is that somehow my tools folder was erased! and apparently it has now been renamed as platform-tools. But whenever I go to Preferences->Android and put the folder where my SDK is, eclipse keeps complaining about the missing tools directory.
What can I do?
UPDATE: The problem was a mix of bad ADT installation and an expired debug key. For more info about how dealing with the expired debug key just take a look at: http://androidbook.blogspot.com/2009/11/tip-dealing-with-expired-debug.html
Restart your workbench and go to Help -> Check for updates. The many of the tools were officially moved from $sdk_root/tools to $sdk_root/platform-tools and the only reason you would be receiving an error would be that you have an old version of ADT.
You can check the version of ADT by going to Help -> About Eclipse SDK. My guess is that either the update failed or after the update you didn't restart the work bench. If neither of these cases is true, i would recommend uninstalling the SDKs and redownloading.

ADT requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

I'm installing the Android SDK on a fresh installation of Fedora 14 (Linux). I installed eclipse, and ran the tools/android sdk tool to install all the Eclipse components for the SDK. I was able to get DDMS to install when selecting it by itself.
And for the last component - the Android developer tools, I'm getting the ugly error message pasted below.
Now I'm Stuck in Eclipse dependency hell.
I've searched through the available packages in Fedora and I can't find the one that has the files necessary to satisfy this Eclipse dependency. Can anybody please translate what it is that Eclipse is asking for and what Fedora package it lives in?
The ugly error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I've just encountered exactly the same problem in Eclipse 3.6 (Helios). After plenty of Googling I came across this link:
http://code.google.com/intl/es/eclipse/docs/faq.html#wstinstallerror
During installation, there's an error
about requiring
org.eclipse.wst.sse.ui. How do I fix
that?
The Google Plugin for Eclipse depends
on other specific Eclipse components,
such as WST. Your installation of
Eclipse may not yet include all of
them, but they can be easily installed
by following these instructions.
Eclipse 3.6 (Helios)
Select Help > Install New Software...
Click the link for Available Software Sites.
Ensure there is an update site named Helios. If this is not present,
click Add... and enter
http://download.eclipse.org/releases/helios
for the Location.
Now go through the installation steps; Eclipse should download and
install the plugin's dependencies.
(There are examples in that page for 3.5 (Galileo), 3.4 (Ganymede) & 3.3 (Europa) for anyone with different versions)
The exact same steps work for 3.7 (Indigo) as well.
Just use http://download.eclipse.org/releases/indigo for the location.
Juno: http://download.eclipse.org/releases/juno
Kepler: http://download.eclipse.org/releases/kepler
Note: Step four is not necessary. Only steps one to three are necessary.
For Eclipse 3.7 or Indigo the winning URL is
http://download.eclipse.org/releases/indigo
And for 3.8 it is
http://download.eclipse.org/releases/juno
I encountered the same problem in eclipse 3.7 indigo
and I have done the folowing:
help->install new software
click on "available software sites"
select all entries (CTRL-A) and remove them
add new entry at location http://download.eclipse.org/releases/indigo/
now add again the ADT location http://dl-ssl.google.com/android/eclipse/
If you're downloaded and installed a Classic version of eclipse you are missing the essential Java Development Tools required by the Android SDK etc
I found that installing the Eclipse Java Development Tools & Java EE Tools solved this problem for me in Eclipse 3.7.
It seems obvious to many Java Developers but to those new to the IDE and JAVA etc it's important to note that they don't installed come with the "classic" version of Eclipse.
Adding the link to the Helios repo http://download.eclipse.org/releases/helios wasn't enough.
In windows 7
Run the eclipse as administrator
goto Windows->Preferences->Instal/update->check "all version of available softwares" and apply--> ok
goto Help->Install new software-> add-->put the URL add or ADT zip file -->ok
thats all and its working....
I was also browsing these answers,but I couldn't get any answer to my problem.But through hit and trial I found the following solution.
First of all update your eclipse by going on Help-> Check for updates .Then, go to Install New Software and give adt location(local or url),then do check Contact all update sited during install to find required software and it would do the rest.
I am not sure whether this solution works well for other,but it worked for me and hope it works for some troubled developer out there
And for the Juno-version:
You just have to add it - not to install anything.
I found that removing ~/.eclipse solved this issue for me on the stock Ubuntu eclipse
For me, running win 7 64, eclipse 3.7.1 64, It was simply to run eclipse as admin, go through the listed steps.
Using Ubuntu 11.10 I was able to fix that issue by reinstalling Eclipse (in my case 3.7) as follows:
sudo apt-get purge eclipse
sudo apt-get install eclipse.*
From there on installing the Android SDK just worked fine.
In my case, I got the above error because the Indigo and "Eclipse Project Updates" items in the "Available Software Sites" pane were disabled.
All I had to do was toggle them to the enabled state and my ADT Plugin installation went like a breeze (as far as eclipse installations go, I guess)
I had this problem as well.
Running Windows 7 (64 bit), Eclipse Indigo. Tried all the different suggestions, but finally, simply unchecking Contact all update sites during install to find required software (running Eclipse as Admin, although I don't think this was important) got everything working fine. I hope this helps someone.
Install Google Plugin for Eclipse corresponding to your version.
for 3.6 helios link is http://code.google.com/intl/es/eclipse/docs/install-eclipse-3.6.html
for offline version http://code.google.com/eclipse/docs/install-from-zip.html
hope it will solve mine problem as well as yours.
I got a similar error in Windows Vista 32-bit when using Eclipse Classic 3.7.2 package, but it worked well after I downloaded and used Eclipse IDE for Java EE Developers.
straight steps to get your ADT plugin working
Download eclipse helios EE IDE not the classic version
After unzip directly go to Checks for Update from help menu
After it get updated download ADT plugin offline version from ADROID site
Now go to Help again -> Install New software -> add -> click on archive then point to your download ADT ADT-17.0.0.zip. Give any name in name field say ADT. click ok
now from work with drop down select the adt plugin name which you given
now go ahead with installation. enjoy :)
What I did (Helios):
1) Go to Help -> Install New Software...
2) Select or add new location http://download.eclipse.org/webtools/repository/helios/
3) Check WTP of latest version checkbox and press next
4) Most probably u will get into 'additional dependecies required' situation, but that new screen will show u which packages have wst in their names, u should procede with installation of that *wst* packages
5) U didn't get 4th point stuff. In that case u have required wst packages installed.
Enjoy. Or not... :)
Android developer
For those using eclipse 3.7
add the following after the http:// prompt download.eclipse.org/releases/indigo
Then click on "help" menu and click "check for updates
To help remove some of the guess and check on which dependencies are needed.
After a fresh Ubuntu install I needed the following.
Error 1:
***Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires ***'org.eclipse.gef 0.0.0' but it could not be found
Update site:
GEF and Draw2d Plugin from http://download.eclipse.org/tools/gef/updates/releases/
Error 2:
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Update site:
Eclipse XML Editors and Tool from http://download.eclipse.org/releases/indigo
Use
http://dl-ssl.google.com/android/eclipse/ instead of https
Update for Fedora 16
Note that this is now provided by a package, so the recommended Thing To Do is
pkcon install eclipse-wtp-sourceediting
This appears to be a one-shot “magic bullet” to get everything that Android's ADK plug-in requires on Fedora 16 (at least).
None of the existing answers worked for me. Having all the correct update sites in "available sites" was not enough to tell Eclipse how to find its dependencies.
Using Fedora 14 and Eclipse Indigo 3.7.1, I had to follow these steps to make the installation working:
Check and install "Linux Tools" from http://download.eclipse.org/releases/indigo
Check and install "Linux Tools" from http://download.eclipse.org/releases/indigo/201109230900
After restarting Eclipse, I was able to finaly install the Android SDK.
During installation, there's an error about requiring
org.eclipse.wst.sse.ui. How do I fix that?
The Google Plugin for Eclipse depends on other specific Eclipse
components, such as WST. Your installation of Eclipse may not yet
include all of them, but they can be easily installed by following
these instructions. Eclipse 3.6 (Helios)
Select Help > Install New Software... Click the link for Available
Software Sites. Ensure there is an update site named Helios. If this
is not present, click Add... and enter
http://download.eclipse.org/releases/helios for the Location. Now go
through the installation steps; Eclipse should download and install
the plugin's dependencies.
//Try to install the extension "eclipse plugin development environment"
Use http instead of https:// and it will solve this problem.
http://dl-ssl.google.com/android/eclipse/
none of above worked for me. This did:
Remove Eclipse (I think this is discussed above).
Get THIS eclipse. (The others don't have java).
This eclipse has java in it, the apt-get one doesn't
Follow these stepsThis guy nailed it. It shouldn't be this hard, but it's not that bad...
After that, I was able to bring back my Android stuff via the normal "Install new Software",
I ran into this issue to. What i did was simply extract the eclipse package using 7-zip instead of the inbuilt windows extractor.
Add this for eclipse juno
I was able to install ADT plugin after this on ubuntu 12.04
.
Eclispe 4.2 Juno Service Release 2
Trying to install Google Plugin for Eclipse failed even when "Contact all update sites" was enabled.
After installing the Juno JST/WST Server packages it worked.
Help > Install New Software...
Work with: Juno - http://download.eclipse.org/releases/juno
Category: Web, XML, ...
JST Server Adapters
JST Server Adapters Extensions
JST Server UI
WST Server Adapters
Restart Eclipse
Help > Install New Software...
Work with: Google Plugin for Eclipse - https://dl.google.com/eclipse/plugin/4.2
Google App Engine Tools for Android
Google Plugin for Eclipse 4.2
Contact all update sites - enabled!
Restart Eclipse
Google is your friend. Make sure you use the right version of Eclipse, and you may have to run Eclipse as root when installing.
The issue is that the versions of Eclipse that ship with Linux distributions are usually very generic in their configuration. It is unlikely that you will find the right package through your package manager, you want to use Eclipse's mechanism.
Downloading SDK tools and Installing the ADT bundle posed a problem for me on Windows and Linux.
After trying it in every way possible on both OS's even with my college lecturer with me for the Windows install, we couldn't get it working.
Both times the only way I got it working was by installing the Android ADT Bundle that includes Eclipse & SDK tools & ADT Plugin all in one.
apt-get remove eclipse-jdt and just download the bundle, it just works. :)
It's not from a repo but it works.
http://developer.android.com/sdk/index.html

Android Plugin for Eclipse problem

I am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation performs without any errors and I can verify that the plugins are indeed installed. My problem begins when I go to Windows -> Preferences, there is no Android section to configure. And when I go to File -> New -> Project, there is no Android Project to choose.
I have uninstalled the plugin and reinstalled at least 10 times, trying different things and still no luck. I originally had the 64 bit version of the JDK installed, but removed it and installed the 32 bit version.
Has anyone heard of this type of problem? Is it because I am using Windows 7?
Thanks for any help.
tbneff
Have you tried doing the following and have it manually install from there:
Help -> Software Updates -> Add site -> http://dl-ssl.google.com/android/eclipse
I didn't see it on the website regarding if the ADT or the SDK is not compatible with Windows 7.
When you said you installed the 32-bit version, did you get it working or not at all?
maybe you have space in your Eclipse or Android SDK path? do not use spaces in path. I had similar problems and that's because spaces.
I encountered the same problem on my Mac, and found out what my problem was. When I was futzing around with stuff I had renamed the config.ini file in the eclipse/configuration folder. When I renamed it back to config.ini and restarted eclipse everything Android was back in the menus for me.

Categories

Resources