Which Eclipse works flawlessly with ADT? - java

There are many Eclipse versions out there. e.g.:Indigo,Juno,Kepler,Luna,Mars. Which of these works best with ADT? There are many such questions on Stack Overflow, but they are all 4-5 years old. I am looking for something more recent.

I reached your question as I was wondering about this myself, since I found "the official IDE for Android" (Android Studio 1.1.0 Build 135.1740770) pretty horrible:
It doesn't work well with multi-module imported projects.
Its Logcat output format is several years backwards compared with that of Eclipse
What I do know is that back then, when Google still supported Eclipse as "official", it released a nice integrated bundle (adt-bundle-windows-x86_64.zip) that was based on Juno (
Eclipse Classic 4.2.2). It worked very well with ADT v21 and SDK Tools v21 (note: ADT and SDK are totally different things, their version numbers don't have to necessarily be identical).
Right now (as of 2015-05-01), you can download ADT 23.0.6 (March 2015) which is designed to work with SDK Tools r24.1.2.
Right now (as of 2015-05-01), you can also download Eclipse Kepler (4.3.2) and Luna (4.4.2). It is very tempting to always use the latest & greatest but I vaguely recall problems with it?. The Google Plugins for Luna & Kepler are really for web applications, not for Android.
So in the meanwhile (until Android Studio catches up with the maturity and the features the Eclipse+ADT has), I am going to stick with the final version of the ADT Bundle. It is still using Juno (
Eclipse Classic 4.2.2), so I guess this is the most stable/reliable Eclipse+ADT combo.
If you have additional information on seamless & flawless development for Android with an Eclipse version higher than Juno, I would love to learn more about it.

In my test with Linux Mint 17, ADT 23.0.7 works best with Eclipse Luna (4.4). The Android layout editor has various graphical glitches in Eclipse Mars (4.5), for example most of GUI widgets palette do not show up until you hover your mouse cursor and you get error-report popup constantly in bottom-right of the screen.
EDIT:
Google has deleted the download link of ADT, so ADT 23.0.7 is now officially the final version. Therefore, I can conclude that the last supported Eclipse version is Luna (4.4).
In the case you want to download the final ADT, the link is below:
https://dl.google.com/android/ADT-23.0.7.zip
Refer to the "Troubleshooting ADT Installation" section of Installing the Eclipse Plugin (Web Archived) for instructions. Note that you have to select ADT-23.0.7.zip instead of ADT-23.0.6.zip.

Which of these works best with ADT?
That would depend on what version of ADT you are using. To know more about which versions of Eclipse supports what all ADT version refer to ADT Plugin Release Notes.
I don't think there is any "best" eclipse version to work with an ADT. Just go for the latest Eclipse version that can use the ADT version you intent to use.
Also as per the documentation
Note: If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.

It depends, i think you should have to use Android Studio, Android studio is official IDE for android.
if you want to go with eclipse, i have good experience with helios, but it depends which version of ADT you are using.

Related

Can't find Android SDK for Eclipse with ADT plugin

I really need to setup Android development with eclipse (ADT plugin) just after format my laptop...
I know everywhere suggest to migrate to Android Studio but really NOT want to do it until next release may be next month.
It always brings to THIS PAGE and forcing to install android studio which is NOT what I am looking for at the moment.
Also I find this LINK that provides ADT plugin installation guide but after successfully install ADT plugin it's not downloading and install SDK as earlier....
Would be grateful if anyone can guide me just to set up eclipse for Android development until migrate to Android Studio in a convenient time. Thanks
I don't have first-hand experience with this, but if your ADT plugin cannot install Android SDK anymore, you can try a workaround: install AndroidStudio, let it install the SDK, and let ADT look at the same directory. I did this a number of times in the opposite direction (starting with working Eclipse/ADT, and reusing same SDK from AS).
I did the same as you, I downloaded a "stand alone" version of ADT and dowloaded every Android version that I wanted to work with.
I downloaded Eclipse Mars, opened it, then I went in the Market Place (in Tools if I remember correctly) and looked for "Android". I then downloaded the ADT (Android Developer Tool) which you can also find on this page : http://marketplace.eclipse.org/content/android-development-tools-eclipse
to clarify, the problem is ADT doesnt install the sdk folder anymore, and also, doesnt support any of the sdk manager above their last version... you can try to look up a sdk manager version that suits ADT, but good look with that. The only way to use eclipse with android sdk is to copy another eclipse well configured with de sdk manager folder, from another pc

Eclipse ADT not generating MainActivity

I am having an immensely frustrating issue with Eclipse and the ADT after updating all the SDK's, API's and Support Libraries for Android this week.
Ever since updating everything I am unable to properly create an Android Project in Eclipse. It does not generate the MainActivity.java or the main_layout.xml files at all. I have read through most of the other posts regarding this and the fixes they suggest don't seem to work. I have tried looking for the updated software by going to:
Help --> Check for updates (Everything is up-to-date).
I have also tried the manual way by going to:
Help --> Install New Software and inputting https://dl-ssl.google.com/android/eclipse/
It still says I have the latest version of the ADT.
I have also tried reinstalling the ADT plugin as well, but to not avail.
Trying to create an Activity after project creation also does not work.
Versions of software that I am running:
Android SDK Tools 24.0.1
Android API 1.5 up to and including API 5.0.1
Eclipse: Luna Service Release 1(4.4.1)
ADT Plugin Not sure
Thank you for taking the time to read this.
The ADT and SDK Tools must be compatible. The latest ADT version is "ADT 23.0.4". And the corresponding SDK Tools version is 23.0.5. You have updated your SDK Tools version to 24.0.1, but there are no ADT version can support. So you should roolback to the SDK Tool version 23.0.5.
Here is the link:
https://dl-ssl.google.com/android/repository/tools_r23.0.5-windows.zip
Add an Empty Activity, instead of Blank Activity. This will generate MainActivity.java
What is your Java version? You didn't mention about it. Please check it, it should be Java 7 for Android 5.0. If you have Java 7 then check eclipse.ini file. If it refers to Java 6 then change here also to Java 7.
Google fixed this issue and below link may help you.
https://code.google.com/p/android/issues/detail?id=82393

Updating ADT in Eclipse causes many errors

Recently I updated Android SDK Tools, Android SDK Platform-tools, Android SDK Build-tools, and downloaded new APIs Android 4.4W and Android L (both API 20).
After restarting eclipse, it required me to also update the ADT from 22.x that I had to 23.x.
I went to Install New Software in eclipse and updated the ADT to 23.0.4.
After restarting, I figured out nothing in Eclipse is working properly:
All the projects contains errors of several types:
Unable to resolve target 'android-19' until the SDK is loaded.
The type java.lang.Object cannot be resolved.
The project was not build since its build path is incomplete.
The Android SDK Manager won't open.
When I write click on a project -> properties -> Android, there're no libraries and I can't add any.
Never seen something like that. I read that more people had problems after updating the ADT but none of the solutions worked. Thanks
Some hypotheses:
Broken Android SDK + tools installation. -- Can you open the Android SDK Manager and the emulator outside Eclipse? Consider reinstalling the SDK from scratch.
Eclipse can't find the Android SDK + tools installation. -- Check the ADT preferences in Windows > Preferences > Android. See this screen shot.
Broken ADT plug-in or its state. -- Try uninstalling ADT then reinstalling it.
Broken Eclipse installation. -- Consider reinstalling it from scratch. This could be a good time to update to the latest Eclipse (Luna).
Actually, this is a good time to try Android Studio. Right now your relative cost of switching is particularly low. Android Studio will take getting used to but it's slicker, does more work for you, and is the focus of Google's Android tool development. Android Studio is in beta testing but it's stable and usable.
Do watch the video What's new in Android development tools from Google I/O 2014.
See Google's notes on Troubleshooting ADT Installation.
There are more tips for fixing the ADT installation, e.g. Eclipse Indigo Android ADT - install OK, no "Android" option in Preferences and New Project but you can rule out most of those ideas since it used to work for you.
Maybe the fix on this Ubuntu forum post is relevant. There, an Ubuntu upgrade broke ADT because of the needed GEF plugin.
To everyone which gets this problems in the future:
Do not try to struggle with it for hours, with frustrating solutions from the internet.
Simply re-installed eclipse, ADT and android SDK in about 30 mins and everything works perfect, finally.
I am using adt-bundle-windows-x86-20140321, problem occured since updating java.
But now problem already fixed after re-Extracting adt-bundle-windows-x86-20140321.

autocomplete is broken in Eclipse Latest May upgrade with JAva 6?

I have a PC right now which have installed Java in July 2011. When i run my latest download ADT it's work without anything required (I thing they take old installed Java).
Now My trouble is I never see autocomplete. After too many CTRL + Space I got autocomplete but never in Java files.
I found that their is AVD already crated for Android 1.6. Look like someone have used Android Eclipse on computer before.
I not want to know what have used in current PC. I just want to run my latest downloaded ADT which not have any kind of code completion when I work on Java files.
I have deleted the workspace folder and it's not useful. Do someone guide us what to do.
I hear in Another answer here (Raghav sood) that Android use Java 6. Do this means it will work. I thing it's about Android use Java 6's customized package not Java 6.
What I need to do now to make it work.
Just download this bundle:
http://developer.android.com/sdk/index.html
Or try the new Android Studio, which still on beta, released at Google I/O 2013:
http://developer.android.com/sdk/installing/studio.html
If I were in your shoes, I would download and install the latest version of Java, Eclipse and the ADT.
Of Course there could be an other solution, but in my opinion its the fastest way. And you get some bugs fixed with the new version. 2 Years are a long time in android development.
EDIT: Some advice: If you've installed all these things, just zip it so in case your eclipse is broken you've a fast backup.

Eclipse - Android configuration problems [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Where can I find older versions of Eclipse ADT
Can’t find AVD or SDK manager in Eclipse
I'm having difficult installing the Android environment on Eclipse. I've tried all the usual fixes like running as an administrator but have had no success.
I have installed the ADT Plugin which has been checked multiple times but when I restart Eclipse and go to Window-Perspective Android does not appear. I'm making this a new question because all of the solutions I have tried and none have worked.
Eclipse version - Eclipse IDE for Java EE Developers
I have download the Android SDK and that's fine but can't seem to get to work with Eclipse. Grrr!
Anyone got any ideas?
P.S. I have tried using Eclipse Classic and the problems are still the same.
SOLUTION FOUND: Where can I find older versions of Eclipse ADT older versions of ADT can be found here to work with the Java version I have. Thanks for all your help!
http://developer.android.com/sdk/installing/installing-adt.html
If you will be developing in Eclipse with the ADT Plugin, first make sure that you have a suitable version of Eclipse installed on your computer as described by the system requirements.
If you need to install Eclipse, you can download it from http://www.eclipse.org/downloads/. We recommend the "Eclipse Classic" version. Otherwise, you should use a Java or RCP version of Eclipse.
I was not able to install the ADT plugin for Eclipse Juno either, so I had to stay with Eclipse Indigo for a while. I noticed that others had the same issue.
You need
java JDK
Android sdk
ADT plugins
Eclipse
in eclipse goto -> help -> install new soft-> select ADT XX...
then Goto windows -> preferences -> set android sdk path
also see this link for STEP BY STEP TUTORIAL

Categories