Eclipse ADT update does not work - android

I updated my android sdk to and I tried updating my adt via ecplise through
Help-> Check for updates
This action results in the dialog that says:
no updates found
But my SDK says:
This android is SDK requires Android Development Kit 21.1.0 or above
Current version is 21.1.0.v201212060256-543035
Please update ADT to the latest version.
Help me out and you have my enormous undying gratitude.

Edit. 26/03/2016
Please note that Google Announced: Support for the Android Developer Tools (ADT) in Eclipse has ended, so consider migration to Android Studio.
Solution:
The fastest installation way I found to solve that without deleting eclipse, or losing any data/settings:
Go here download latest version of ADT, current ADT-23.0.7.zip (*)
At Eclipse > Help > Install new software... > Uncheck Contact all update sites during install to find required software (bottom, last preference) in order to avoid any unwanted delays during install.
Same screen (top) Click Add > Archive > select downloaded ADT-X.X.X.zip > follow on screen installation steps
As a user mentioned in a comment if you still face problems on updating like that you may try removing the previous version of ADT before installation.
(*) Previous versions:
ADT-23.0.0.zip | ADT-23.0.2.zip | ADT-23.0.3.zip | ADT-23.0.4.zip | ADT-23.0.6.zip
ADT-22.6.0.zip | ADT-22.6.1.zip | ADT-22.6.2.zip | ADT-22.6.3.zip
ADT-22.3.0.zip
ADT-22.2.1.zip
ADT-22.0.0.zip | ADT-22.0.1.zip | ADT-22.0.5.zip
ADT-21.1.0.zip
Edit to fit the updates of ADT, this solution seems to work in any version :D

I had similar issue when upgrading to 22.6.1 and I got support from Android team. The solution was super simple.
You need to go Help - Install new software and choose there httpS:// (s is important) update site, and then execute installation.
Check out this solution on Android issue tracker.

I had another issue with ADT 23+.
My ADT plugin was out-of-date, but Eclipse was still saying that the latest version was already installed.
Installing manually the latest ADT version with the archive was not working either.
Eclipse was wrong so I made a clean install of ADT Plugins.
Uninstall ADT in Eclipse: Help > About Eclipse > Installation Details
Select the plugins then click on Uninstall...
Relaunch Eclipse
Install ADT again: Help > Install New Software...

I had the same problem. The command line update didn't work for me for some reason. It's some sort of bug that I haven't experienced in any update before this one. Here's what I did to fix it:
I deleted my eclipse installation
Downloaded a fresh copy of the sdk from the developer website
unzipped the sdk and copied only the eclipse folder
replaced my old eclipse folder with this one (deleted the rest of the download since I already had the sdk)
started up eclipse and pointed the workspace location to the old workspace I already had. All my projects were back as I had left them.
There might be other methods as well. This one seemed simplest to me. Others have suggested updating every eclipse component one by one and things like that but it seemed too tedious to me. If your eclipse installation is heavily customized and you have a lot of plugins installed then it might make sense to find an alternative. My install is always pretty minimalistic so I didn't mind throwing it away and starting from scratch.
Hope this helps!

And at the page Google for Android Development at link http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting
They say:
If Eclipse can not find the remote update site containing the ADT plugin, try changing the remote site URL to use http, rather than https. That is, set the Location for the remote site to:
http://dl-ssl.google.com/android/eclipse/
For me - it's help.

If the solution of madlymad is not working, you could also try this solution which has worked for me.
In short: completely uninstall adt and then use the archive to install it again (as suggested above).
Without the uninstall i ran into conflicting jars.

Download Updated bundles here:
win32: Here
Unfortunately, you will NOT be able to update an existing installation. Just use a new copy of Eclipse and install the plugins using the update site, or use the bundle.
OR
You can fix this issue by removing all old Android plugins. Once you have removed all of the old Android plugins you can then install the new ones.
Open Eclipse
Select Help
Select About Eclipse SDK
Select Installation details
High light all Android plugins
Select Uninstall
Restart Eclipse
Then install the plugins again as normal
Restart Eclipse
At this point everything should be working again.
Solution via: https://code.google.com/p/android/issues/detail?id=73102

You can always try to update the SDK Tools and Platform tools outside Eclipse.
in CMD or Terminale type:
$ android
and the SDK manager will start.

Related

Trouble with installing new ADT Plugin for Eclipse

I'm trying to update my ADT to new version 23 so I found guides like this to perform the update:
Got to "Help > Install New Software"
List item
Click on "What is already installed?"
Remove any existing components that you wish to replace/update.
Once done, either install the new updated via the ADT url or download the zip and install from that .
But when I click on "What is already installed?" and try to unistall version 22 of ADT I get this error:
I'm really confused! Details say it cant remove eclipse.exe but if it remove it then my whole eclipse goes! Any help would be appreciated.
I solved my problem so describe here what I did maybe it save someone else!
1- to get rid of this error
disable your antivirus protection
make sure that your os user has full permisions for writing and deleting files
be sure your eclipse folder is in c:\
run eclipse as administrator
2- after this you can use the instructions I mentioned at my question to install newer version of ADT but remember don't restart eclipse after unistalling older version! even if eclipse says you must restart to changes take effect don't do that! it simply removes eclipse.exe so you don't have any exe file to start your eclipse again! So without restarting eclipse after unistalling older version of ADT plugin use ADT url and install newer version.
3- enjoy!

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?
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:
Run Eclipse as Administrator
Go to Help > About Eclipse SDK > Installation Details
Select Android DDMS, Android Development Tools, Android Hierarchy Viewer, and Android Traceview
Click Uninstall and click through the dialogs
Restart Eclipse at the prompt
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)
Re-install the ADT plugin the way you did before.
Restart Eclipse at the prompt.
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).
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 ;)
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.
You should install start SDK package (download), after that install android packages by windows/SDK manager. After that you§ll see everything you've mentioned
I encountered the same problem today, and a simple removal of the installed plugin is not helpful. My final solution is:
Remove the Android DDMS, Android Development Tools, Android Hierarchy Viewer, Android TraceView and Tracer for OpenGL ES first.
Remove the com.android.ide.eclipse.adt.package_version_info and other adt related jar directory under eclipse_home/plugins/. It is very easy to recognize based on its version_info on its name.
Modify the artifact.xml under eclipse_home, remove all artifact tag related with 'adt'.
Reinstall Android ADT again with Admin Privilege.
If you are going to reinstall as administrator make sure to remove the ADT Plugin from the Windows > Preferences > Install/Update > Available Software Sites.
Also something that may help is when installing the ADT Plugin you get the option for Developer Tools which the http://developer.android.com/sdk/installing/installing-adt.html guide tells you to select, but make sure to also select NDK Plugins.
And as usual do this while running as administrator. It probably doesn't make a difference but instead of clicking restart I closed Eclipse and reopened as administrator each time it was necessary.
As far as I can tell the NDK Plugin was the only thing I did differently when I finally got it to work.
I have Ubuntu , to make story short, I tried every advice here, nothing helped (reinstall, ADT removal- adding, run as sudo, deleting .eclipse folder etc).
The cause of problem was running eclipse updates.
So, I downloaded ADT bundle as zip - adt-bundle-linux-x86_64-20130729
unpacked it, run eclipse inside it, used existing workplace, and it worked, 'android' option appeared in Preferences.
However, there is no longer 'eclipse' splash logo at start-up, it's now called Android Developer Tools
Build: v22.0.5-757759
The real solution to this issue is that you MUST run Eclipse as an Administrator before you install. There are a number of plugins that have this same issue.

Eclipse Indigo - Cannot install Android ADT Plugin

When I try to install the Android Developer Tool, I get the following error.
Software being installed: Android
Development Tools
11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group
11.0.0.v201105251008-128486) Missing requirement: Android Development Tools
11.0.0.v201105251008-128486 (com.android.ide.eclipse.adt.feature.group
11.0.0.v201105251008-128486) requires 'org.eclipse.wst.sse.core 0.0.0' but
it could not be found
I also found that adding the WST package does not help. I get the following,
Cannot complete the install because
one or more required items could not
be found. Software being installed:
Google Web Toolkit SDK 2.3.0
2.3.0.r37v201106211634 (com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group
2.3.0.r37v201106211634) Missing requirement: Google Plugin for Eclipse
3.7 2.3.2.r37v201106211634 (com.google.gdt.eclipse.suite.e37.feature.feature.group
2.3.2.r37v201106211634) requires 'org.eclipse.wst.xml.core 0.0.0' but
it could not be found Cannot satisfy
dependency:
From: Google Web Toolkit SDK 2.3.0 2.3.0.r37v201106211634 (com.google.gwt.eclipse.sdkbundle.e37.feature.feature.group
2.3.0.r37v201106211634)
To: com.google.gdt.eclipse.suite.e37.feature.feature.group
2.3.2
I'm running Eclipse Indigo 64bit version. Could someone point me in the right direction? Or tell me where to find that missing package.
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.
(Had to do the same yesterday after getting Indigo)
I had the same problem. This helped for me:
Go to Help->Install Software
Click on "Available Software Sites"
Click on Add:
Name: "Helios"
Location: "http://download.eclipse.org/releases/helios"
Try to install Android Development Tools
I got around the org.eclipse.wst.xml.core 0.0.0 issue by taking the following steps:
Go to help
Install New Software: Add Name: Indigo Location: "http://download.eclipse.org/releases/indigo"
Select 'WST Server Adapters' under 'Web, XML, Java,..." (last name in list)
Accept licensing agreement
Restart Eclipse
Resume procedure to install ADT
It worked for me, hope it does for you too.
I had the same issue. The other solutions here didn't work for me because I couldn't even see the Indigo / Helios update repos. The problem was that Eclipse was in Program Files, but I wasn't running it as an administrator.
So I got indigo, and then :
Go to Help->Install New Software
Click on Add: Name: "Indigo" Location: "http://download.eclipse.org/releases/indigo"
Try to install Android Development Tools (as you will see, only 1 option out of 4 will appear - this is normal for Indigo)
Ensure you have the option "Contact all update sites during install to find required software". This option is located in the lower left corner on the first screen after choosing Help/Add New Software. This is unchecked by default. This WILL FIX the issue if it was unchecked.
The plugin will install in 3.7 32bit and 64bit.
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.7 (Indigo)
Select Help > Install New Software...
Click the link for Available Software Sites.
Ensure there is an update site named Indigo.
If this is not present, click Add... and
enter http://download.eclipse.org/releases/indigo for the Location.
Now go through the installation steps; Eclipse should download and install
the plugin's dependencies.
I've also had this problem. I solved it by going to:
Clicking -> available software sites
Select "Helios" and click Reload.
Select "ADT Plugin" and click Reload.
Then went back, tried again and it worked.
If you still can't get it working there are directions for doing it manually here:
http://developer.android.com/sdk/eclipse-adt.html#installing
(also: I'm using 3.7 64x, it's working fine, not having any issues.)
I tried installing and got the same error (using the new "marketplace"). I tried the typical Help->install new software... then where it says "Work with:" I entered:
http://dl-ssl.google.com/android/eclipse/
followed all the prompts and everything seems to be working fine now.
Execute eclipse with root level
$sudo /opt/eclipse/eclipse
Go to Help->Install Software.
Add the following link http://dl-ssl.google.com/android/eclipse/ .
Then press next and accept the license, it installs some of the software required then you will be gud to go.
After the eclipse restarts it prompts you to download the android sdk required or give the path of android sdk if already it is downloaded.
This works all the time what ever may be the version.
By the way, Eclipse + ADT (ADT Bundle) is now provided as a single package,
Developer.Android:ADT Bundle
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.
Thanks to all for the posts but unfortunatley none of the above solved my problem. Eventually what got it all working for me was to download eclipse indigo 3.7.2 and (this is very important) EXTRACT IT DIRECTLY INTO MY PROGRAMS FOLDER. Before I would extract it to my desktop and copy into the programs folder (C:\Program Files) but I would jus get an error message saying "The Eclipse executable launcher was unable to locate its companion shared library" when trying to run eclipse.
After extracting eclipse directly to my programs folder I ran it and added the ADT plugin the way reccomended in on the android site and so far all is working well :)
I'm on a windows 7 x64 machine and had jre-7u2-windows-x64.exe, jdk-7u2-windows-x64.exe and installer_r16-windows.exe installed before extracting eclipse.
I hope this can help someone else too :)
Still pretty bewildering. It seems some combination of the above suggestions worked in Eclipse 3.7.2.
First, I had to move to a network that dl-ssl.google.com hasn't blocked (this is an ongoing problem with the Google server)
(Easy with a laptop, less so with my tower.)
The Eclipse folks should look at this problem.
The user sees an error, something about a missing package "org.eclipse.wst.sse.core', say.
There are 50 or so plugin repositories listed.
which of these is the one that has this package???
None has a name containing a 'wst' or 'sse'.
This is very poor. There needs to be a way for the user to associate the error message
with a repository solution.
Anyway: after some hunt-and-peck I ended up selecting
(and reloading each repository, and with Contact all update sites during install to find required software checked)
https://dl-ssl.google.com/android/eclipse/ (ADT Plugin, which I
added according to the Google instructions)
http://download.eclipse.org/releases/helios (Helios Milestone
repository)
http://download.eclipse.org/eclipse/updates/3.6
(Eclipse Project Test Site)
One of these provided the packages needed for the Android plugin . Best guess: Helios.
The best answer (by Sathya) is also applicable in Eclipse Juno.
This seems to be fixed in Indigo Eclipse now, there's a video showing someone install android eclipse on youtube?
Cannot complete the install because one or more required items
could not be found. Software currently installed: Shared profile
1.0.0.1308118821836 (SharedProfile_epp.package.java
1.0.0.1308118821836) Missing requirement: Shared profile
1.0.0.1308118821836 (SharedProfile_epp.package.java
1.0.0.1308118821836) requires 'org.maven.ide.eclipse
Run As Administrator !!!
Eclipse Classic or Galileo is the two you can use. The other Eclipse IDE are not meant to program or interpret JAVA in the same way. Download either 64x or 32x will work on Classic or Galileo on a PC. Just make sure you PC can handle which version of Eclipse you download.

how to add Android platform into Netbeans 7.0, after installed android plugin

I installed Android plugin using Tools/Plugins/Settings and copied the link there, and so on. In the next step, I would get to Tools/Java Platforms/Add platform, then it pope up with "1.Choose the platform folder" instead of "1.Select platform type". Because of that, I couldn't proceed into the next steps.
I tried to remove and reinstall Java SDK and Netbeans several times using different methods. But nothing has changed. I really appreciate the answer.
Thanks
You are following one of outdated install guides/tutorials. Current version of Android support only needs to know where your Android SDK is. Go to Tools | Options | Misc | Android and set the location there. You can find more details at http://www.nbandroid.org/
It can even detect this location automatically if you open some configured project but it seems this is not your case.
After installing the plugin the sdk and the platform then choose from netbeans file new project android project next choose the target platform listed under target name input package name and voila.
Installing the platform is a seperate step. Look in the sdk folder and read the readme. On linux, at least, it says to run the "android" program, which is in the tools folder. After installing the platform through this it should let you progress in setting up netbeans.
It's not an obvious step if you're a noob and head straight to google with "setup netbeans for android"

ADT plugin and Eclipse 3.5

I installed ADT plugin to Eclipse 3.5. But at Window → Preferences Android node is not shown.
If you have the Subclipse plug-in also installed, then that could be keeping the ADT plug-in from working. They just don't seem to play well together. I created a second Eclipse installation for my Android work with ADT but without Subclipse. I use the other one for projects using Subclipse but not Android. Not ideal but good enough for the moment.
Ok, I solved this slightly differently.
I am running Eclipse 3.5 under Windows 7 x64. I used the zipped version of Eclipse and originally decompressed it to c:\program files\eclipse
I found the only way I could get the ADT plug-in to work was to move the eclipse folder to a folder location with no spaces eg c:\eclipse and then run it as an administrator.
After that I just re-installed the ADT plug-in and it works!
How did you install android?
Did you use the p2 'Install new software' as in:
like this tutorial?
See also this manual page, where you will see the update site address is the same, but the process depends on your eclipse version (for eclipse Galileo 3.5.x, the p2 mechanism is recommended)
A full reinstall of eclipse is better when in doubt (you do not even need to touch to your previous install: just unzip a new eclipse.zip somewhere): you can even reference your previous workspace (and plugins, if you have uncompressed them in a dedicated directory).
For those references, see my eclipse.ini for more.
(Note: there is no real full installation of eclipse, except for removing its directory)
Hallelujah. I removed ADT plugin, removed eclipse folder. Also I removed all mentions of eclipse from file system (several folders from user folder). Installed again. And it began work.
I encountered the same problem and was able to resolve it by simply removing the eclipse and android sub-folders from beneath my C:\user folder.
I was able to leave the main Eclipse folder alone, but I did need to install the Android plugin again.
The best answer is so simple, we've overlooked what eclipse is doing when we click "finish" after adding the plugin.
If you take a look at what eclipse is doing in the background before you install the plugin, it's actually installing the program, you'll see the loading bar updating, where ever you have dragged the loading bar to.
So you have to wait for eclipse to install it, it's actually doing something, we just didn't realize it, instead, we quit while eclipse was installing, it never got installed,thus it 'android' doesn't appear in the preferences.
Give it a go!
If you are facing problem with Updating existing ADT or from Install New Software option of eclipse. Best way to do it
1.Uninstall ADT from eclipse
2.Download ADT Plugin zip file from http://developer.android.com
3.Unzip file downloaded in Step 2 and go to plugins directory.
4.Copy all the jar files from plugins directory to plugins directory of your eclipse.
5.Restart eclipse
Just going to confirm that I has this same problem as well. I would download the ADT but it would not appear in the Window tab for Eclipse (helios) classic. I basically just reinstalled the ADT and that worked fine.
In Eclipse I went to the help tab, then Install New Software.
I clicked the "whats already installed" link on the right
I then uninstalled all the android stuff
Then I just reinstalled it again.
Before I restarted Eclipse I waited 2 minutes just in case some files were still installing
Then I closed Eclipse and opened it again and that seemed to do the trick^^
I am having the same problem.
I uninstalled the ADT by mistake. The ADT was functioning correctly before this point of time.
Now when I try to install it again, it installs correctly but it doesn't load up in Eclipse. What I mean is that I can see the ADT has been installed when I check the installed plug-ins section; but I cannot see the Android section under Preferences and neither can I see the Android SDK and AVD Manager button/option under Windows.
I am currently using Eclipse 3.5.2 on a Windows 7 x64 system and I do have Subclipse installed as well.
Please advice.
Ok. So I got it working by removing Eclipse completely (even the folder under Users). Then while installing everything again, I did not install the Subclipse plug-in and everything is working as it should. I already have a seperate software for managing subversion repositories, so this setup works for me.

Categories

Resources