Error installing ADT plugin in Eclipse on Ubuntu 10.04 - android

I have installed the plugin many times before, but this time I keep getting this error:
'Install' has encountered a problem
An error occurred while installing the items
Eclipse has some memory issues when running on my machine, so I just want to install the bare minimum plugins, etc.
Has anyone got any ideas how to get around this error?
SOLVED
I had the wrong version of Eclipse installed. I just installed the version from the Ubuntu software center and it didn't work, do I uninstalled it and downloaded the Java EE version from Eclipse's website and now it works.

Go to Window -> preference -> Install/update
There update the plugin package ... the one responsible for installing ADT.
Worked for me atleast.

I had the wrong version of Eclipse installed. I just installed the version from the Ubuntu software center and it didn't work, do I uninstalled it and downloaded the Java EE version from Eclipse's website and now it works.

Related

Installation of compatible Android DDMS from eclipse

I updated android development environment after which I had Android DDMS 12.x.x, ADT 21.1.0, Android Hierarchy viewer 12.0.0, Android Native Development Tools 21.1.0, Android Traceview 12.0.0 installed on my eclipse helios 3.6.0. I could not update Android DDMS, Android Hierarchy viewer, and Android Traceview to 21.x.x because of some dependencies issues. So I thought of giving it a hit and trial manually by uninstalling and then installing these old features. I uninstalled Android DDMS, but now I cannot get it installed as only version 21.x.x shows in the update which is incompatible because of dependencies.
So how can I now, if possible, install stand alone DDMS to the latest version or even revert back to the older working version of 12.x.x?
Any help will be highly appreciated.
Update1: I tried reverting the changes from installation history in eclipse, but now all I get is
No repository found containing:
org.eclipse.update.feature,com.android.ide.eclipse.ddms,12.0.0.v201106281929-138431
Update2: Even though I (Help > About Eclipse SDK > Installation Details) uninstalled the DDMS, I still have DDMS perspective so I wonder if it is really uninstalled at all. Only that DDMS doesn't show now in "Installed software". How can I get it back there in the installed softwares?
No luck till now.
Well I was apprehensive about installing the things all over. That was the reason I had
Android DDMS 12.x.x , ADT 21.1.0, Android Hierarchy viewer 12.0.0, Android Native Development Tools 21.1.0, Android Traceview 12.0.0 installed on my eclipse helios 3.6.0 after performing update. These inconsistent versions were largely due to the plugin dependency issues.
As mentioned above reverting back also didn;t work. So I had to uninstall all these plugins. Somehow then installing the fresh and latest version of plugins also didn;t work. Then I downloaded the older version of ADT that I was using before updating from
dl.google.com/android/ADT-12.0.0.zip
(Found the link for old ADT from one of the answers in stackoverflow. I dont know why google doesn;t provide the links to old repositories)
Then I installed it and after performing the updates I have all the plugins with version 21.x.x.
P.S The eclipse version was also upgraded to 3.6.2.
This is the work around I found. And Never try to fix the things that are not broken.

Use Android sources plugin with Eclipse ADT bundle

I followed android.com's instructions for installing eclipse with android developer tools (ADT) bundle. I then in eclipse do Help > Install New Software... to attempt to install Android Source Plugin which I have happily used for at least a year on my old eclipse installation.
Attempting to install it using Java Rel7, I get an error which I found some bug reporting was due to running eclipse on Java Rel7. So I tried to run Java Rel5 but this version of eclipse needs Java Rel6. So I installed Java Rel6 and tried running eclipse on that and installing the Android Source Plugin, but that failed too.
Anybody else run in to anything like this? Know any workarounds?
You could try installing eclipse and the SDK seperately. I've had to install android a few times recently on different machines and this is the approach Ive taken. You can download eclipse from the eclipse website at http://www.eclipse.org/downloads/. (I have the first option Eclipse IDE for Java EE developers).
After that is installed you can install the android sdk using this guide http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/
Also make sure if you want to test on a phone that you go into the android sdk manager (should appear somewhere in eclipse when SDK installed) and download the updates there.

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.

ADTr20 doesnt get installed in my eclipse

I have updated my android sdk to sdkr20, before i used r16 and my eclipse version is
Version: Indigo Service Release 1
Build id: 20110916-0149
but when I try to install ADTr20 it doesnt get installed and says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 20.0.0.v201206242043-391819 (com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819)
What should I do now?
I'd suggest trying a fresh install of eclipse. But don't get Juno (the latest version) as there is a bug that makes the XML editors not work with ADT (see http://code.google.com/p/android/issues/detail?id=34630).
Can you try updating eclipse first?
Then let it do its thing like so:
Then select the option only for tools (do not select anything else)
Once that installs successfully, try installing the other updates one by one, say select DDMS only first and so on
Note: At times, removing development tools and then installing it again helps to resolve such issues as well
They say you should use Eclipse Indigo

Android ADT plugin isn't installing on my machine

I've installed the following:
JDK
Android SDK
Eclipse Classic 3.7
Now I'm trying to install the ADT plugin for eclipse, but in the install process I get the following error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 12.0.0.v201106281929-138431 (com.android.ide.eclipse.adt.feature.group 12.0.0.v201106281929-138431)
How do I go about resolving this error.
I started from the beginning, removed Eclipse, Android SDK etc, then downloaded everything again and re-installed. Seems to be working know, weird?!
I had the same problem right now, and I solved it running eclipse as admin...
Windows 7 pro x64
Eclipse Indigo
I got the same Issue, but I updated Eclipse and the Android SDK, it worked ! i guess no need to re install all the stuff.
I was running Eclipse Helios 64bit

Categories

Resources