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.
Related
I get this error while installing the previous version.
An error occurred while uninstalling
session context was:(profile=profile, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86 1.0.0.I20120608-1200 --> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction).
Backup of file D:\ADT\android\adt-bundle-windows-x86-20130219\eclipse\eclipse.exe failed.
Can not remove : D:\ADT\android\adt-bundle-windows-x86-20130219\eclipse\eclipse.exe
Help-->Install New Software-->What is already installed?
Then, Select "Android DDMS, Andoid Devlopment Tools,Android Hierarcy
Viewer, Android native Development Tools, Android Traceview, Tracer
for OpenGL ES" and click Uninstall.
After all this step, try Add link
([https://dl-ssl.google.com/android/eclipse/][1]) and name is ADT
Plugin. This link will get the latest ADT Plugin. In this way you
reinstall the ADT.
None of the answers provided related to this issue solved my problem.
Eventually, I downloaded latest Android Studio and installed it. So far, extremely happy with its performance and features. I would recommend to install Android Studio.
You need a new clean Eclipse version. And then install ADT plugin.
It seems like adt update doesn't work
Eclipse
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/R/eclipse-java-mars-R-win32-x86_64.zip&mirror_id=576
ADT Plugin
https://dl-ssl.google.com/android/eclipse/
ADT SDK: the last one
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Hierarchy Viewer 23.0.2.1259578
(com.android.ide.eclipse.hierarchyviewer.feature.feature.group 23.0.2.1259578)
I have read all the previous answers bt didnt help !
I had that as well, but I didn't want to reinstall my Eclipse.
So I uninstalled the ADT bundle plugins (from Eclipse->About Eclipse-> Installation Details -> Android DDMS (and others) -> [Uninstall]), then restart the eclipse.
After that, install the ADT plugin again.
This worked without any issues.
I had that as well, I found I had to remove Eclipse and then get the latest Eclipse and ADT bundle from http://developer.android.com/sdk/index.html. This then works without any issues.
For all those who still want to download eclipse with adt here is the download link https://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip (this is 32 bit)
For 64 bit https://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Google has removed these links from their site as they are saying that Android Studio is now the official IDE but these download links are working fine
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.
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
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.