Install Android ADT in Eclipse Show errors - android

When I'm trying to install Android ADT in Eclipse it gives errors.Plese some one help me to resolve this issue.I had been stick here for a long time.
this is the shown error.
Cannot complete the install because of a conflicting dependency.
Software being installed: Android Traceview 23.0.7.2120684 (com.android.ide.eclipse.traceview.feature.feature.group 23.0.7.2120684)

You should be using Android Studio as Eclipse is no longer supported by Google for Android development. This link will provide you with all you need to get started with Android development using Android Studio. The UI is similar but this is now the official IDE for Android development.
Android Studio
But if you must use Eclipse
You should remove old adt before install new one.
Eclipse-->Help-->About Eclipse---->Installation Details
Select - Android DDMS, ADT, Android Hierarchy Viewer, Android Native
Development Tools, Android TraceView and Tracer for OpenGL ES
packages.
Uninstall all the plugins selected above.
Restart Eclipse
Install ADT from update site -
https://dl-ssl.google.com/android/eclipse/

Related

What is the Last Version of the Eclipse ADT plugin

I have always coded android apps using eclipse as opposed to android studio simply because i find it faster than android studio. However because google has deprecated eclipse as the official IDE for android.They also stopped developing android developer tools (ADT) plugin.
For purposes of the layout renderer in eclipse, I need to know what was the last version of Android Developer Tools plugin for eclipse to be ever released by google before it was deprecated?
The last version of ADT tools should be ADT-23.0.7.
I've never managed to find something newer than that.
In the official annoucement it states:
Android tools inside Eclipse will continue to live on in the open source community via the Eclipse Foundation. Check out the latest Eclipse Andmore project if you are interested in contributing or learning more.

How to setup Eclipse for Android

I'm trying to get Eclipse setup for Android and have done the following steps. I'm using the book "Android 101" and basically following the steps.
(1) Installed Java SDK
(2) Installed Eclipse
(3) Installed Android SDK
I start Eclipse and go to Window->Preferences and expect to see Android in the list. I'm supposed to select Android then point it to where I installed the Android SDK. The problem is that I'm not seeing Android in the list.
I did not have any trouble with the Java or Android installs, and I didn't see any option in the Eclipse install specific to Android.
I've searched on Stack Overflow and Googled, and am not finding anything.
From inside Eclipse select Help->Install New Software then click NEW.
Install ADT from https://dl-ssl.google.com/android/eclipse
After that you point it to your Android SDK install location and the APIs all show up. Hit APPLY and OK, then ready to start working.
The best plan here is to follow the advice given on the Android Developers blog in June, 2015.
[…] we are ending development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. This specifically includes the Eclipse ADT plugin and Android Ant build system. If you have not had the chance to migrate your projects to Android Studio, now is the time.
I'm a long-time Eclipse user, and I recently fired up Android Studio for some brief Android testing. There was definitely a learning curve, but it wasn't insurmountable.

Can't update ADT plugin in Eclipse to version 23.0.0 or above

I am beginner in Android programming. My problem is, that I can not update ADT. The problem started, when after a long time I have updated in Android SDK Manager the Android SDK Tools. Then I was trying to import a project into the workspace. But I couldn't import that, because every time I clicked the Finish button, nothing happened. Then I closed Eclipse and opened it again, and showed me the following error:
I clicked on the Check for Updates, but it didn't find anything. On the Internet I have found an URL, so I clicked Help-->Install New Software...--> Add--> and pasted this URL. When I clicked Next, it showed me the list of items which I wanted to install and also an error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
Software currently installed: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
Only one of the following can be installed at once:
Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger 23.0.0.1245622)
Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger 21.0.0.v201210310015-519525)
Cannot satisfy dependency:
From: Tracer for OpenGL ES 23.0.0.1245622 (com.android.ide.eclipse.gldebugger.feature.feature.group 23.0.0.1245622)
To: com.android.ide.eclipse.gldebugger [23.0.0.1245622]
Cannot satisfy dependency:
From: Tracer for OpenGL ES 21.0.0.v201210310015-519525 (com.android.ide.eclipse.gldebugger.feature.group 21.0.0.v201210310015-519525)
To: com.android.ide.eclipse.gldebugger [21.0.0.v201210310015-519525]
I have also read somewhere, that I should try to replace the plugins folder with the updated plugins folder so I tried to rename "plugins" folder in the Eclipse folder to "pluginsx" and pasted the new one I have downloaded from the site. After this I couldn't open the Eclipse.
This site is also about the same problem as I have, and there is an answer which is accepted as the solution of the question. So I tried also to download, and copy those 3 things to folders which were mentioned in the comment below, but I have still the same problem, nothing changed.
So now I don't have any idea, how to fix this problem. Can anyone help me, please?
Thanks in advance.
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/) and name is ADT Plugin. This link will get the latest ADT Plugin. In this way you reinstall the ADT.
None of these "update" alone answers worked for me.
The solution I used is to uninstall the ADT (from Uninstalling Android ADT)
Help > About Eclipse > Installation Details
Select all of the Android modules (prefixed with com.android.ide...)
and delete them (Uninstall...) and re-add the libraries from the
help > Install new software
As listed above....
The only solution that worked to me was to download the current Eclipse ADT bundle from the Android site
After download it, I copied my current sdk to a folder like .../development/sdk. Then I deleted the sdk that came with this new Bundle.
I put ADT Bundle in .../development/adt-bundle-....
After start it, you jave to inform the new sdk location in Window > Preferences > Android, so in SDK Location you put the new sdk path. In my case: .../development/sdk.
Of course, you can put the sdk folder inside the new ADT Bundle folder, but I do this way, because I use Android Studio as well, so I point the two IDEs to the same SDK.
After finish this and be sure everything is working I deleted the old ADT Bundle folder.
I had the same issue and the following solution worked for me.
I had installed SDK Platform of M Preview while my ADT was of version 22.
So I just uninstalled SDK Platform of M preview and installed SDK platform of API level 22 from SDK Manager.
This worked for me.
this solution works.!!!!!!!
Open eclipse> Help>about eclipse>Installation
uninstall the component the are included to the .zip file you downloaded. download like below.
(credit to mr.zakimark
I found it simpler at times to first uninstall all the 7 components:
-Android DDMS
-Andoid Devlopment Tools
-Android Hierarcy Viewer
-Android Native Development Tools
-Android Traceview
-Tracer for OpenGL ES
-Google App Engine Tools for Android(If installed)
Then download the latest ZIP/Archive.
Install the Archive from Help->Install New Software->Add->Archive
Select the downloaded ZIP, provide a name for it and follow the standard installation process.
Installing ADT is a major problem specially when updating. Also sometimes it's just a pain to install ADT by providing the direct link. Often Eclipse will stall while displaying "Calculating requirements and dependencies".
I found it simpler at times to first uninstall all the 7 components:
-Android DDMS
-Andoid Devlopment Tools
-Android Hierarcy Viewer
-Android Native Development Tools
-Android Traceview
-Tracer for OpenGL ES
-Google App Engine Tools for Android(If installed)
Then download the latest ZIP/Archive.
Install the Archive from Help->Install New Software->Add->Archive
Select the downloaded ZIP, provide a name for it and follow the standard installation process.
I couldn't uninstall the old ADT plugins from the 'Help->Installation Details` page because the 'Uninstall...' button was disabled when I selected any of the modules.
Also, because the ADT bundle is no longer available to download, reinstalling was not an option.
What worked for me was to install the basic Eclipse environment using the Eclipse Installer from here. In the installer, I selected 'Advanced Mode...' from the hamburger menu, and then selected just the 'Eclipse Platform' to install, i.e. just the core tools. I think that this is only possible using the installer.
After eclipse was installed, I installed all the ADT plugins using 'Help->Install New Software' and using link https://dl-ssl.google.com/android/eclipse/.
YMMV, but this worked for me.

No "compile with" option when creating a new android application?

No "compile with" option when creating a new android application?
Software : Eclipse IDE for Java Developers
Version: Indigo Service Release 2
Build id: 20120216-1857
This issue has been often occurred by Many People.
Solution is
Update ADT plugin and then SDK tools and after when you will try to create a new project, the error will not occur
Eclipse--> 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/) and name is ADT Plugin. This link will get the latest ADT Plugin. In this way you reinstall the ADT.
Eclipse will restart and hopefully everything should work fine for you.

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.

Categories

Resources