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
Related
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.
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
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.
NOTE: I have already fixed this problem. I used the methods described in a previous question/answer discussion. Thank you for whoever tagged this as previously answered!
It an be found here: ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin
Today I just downloaded and installed Eclipse via the developer.android.com tutorials. I had almost initiated my first Android Application when I came across this error:
I don't understand the error. It does not specify a required version, and my version is the most up to date version. Neither the [Install/Upgrade] nor the [Check Again] buttons appear to function. I have also tried to delete and reinstall the Android Support Library via the SDK Manager multiple times.
Can any one help me? Thanks in advance!
Note - I do in fact have both the Android Support Library and Android 4.3 installed:
*Edited to add picture and note*
How did you create your project? Steps: New -> Android Application Project? If you've done this, you should check whether you have installed "Android 4.3" and "Extras->Android Support Library" in Android SDK Manager.
Go to the Android SDK Manager, then download the required Android version, in your case, version 18 which is Android 4.3.
Right click on the project -> properties -> Android -> select a platform like 4.0
It sounds like you don't have installed android 4.3 sdk(API level 18).
Please open eclipse->windows->android sdk manager and make sure your android 4.3(API 18) status is installed.
Download from http://dl-ssl.google.com/android/repository/tools_r22-windows.zip, unzip it and replace the /tools folder with this one to downgrade the sdk tools. There's a bug in version 22.
Sorry, but someone found that this is a duplicate. I replaced my sdk/tools/templates/activities folder with a more up-to-date one, which resulted in success. The steps and files can be found here:
(ADT 22.2 New App Wizard: Unsupported template dependency: Upgrade your Android Eclipse plugin)
Thank you for all who took time to try and answer my questions. It is much appreciated!
I am running CentOS 5.5 x86_64 with JDK 1.6, Eclipse Galileo, and the 0.9.7 ADT is installed; however, after installation, the Android project type is not available. I have checked in the installed packages list and it is installed. Anybody encounter this problem before? Could it be due to my use of the 64-bit java VM that is installed on my system?
This usually happens when you dont select any android SDK in "Preferences > Android" You just have to reset the perspective in eclipse, Windows > Reset Perspective.
Hope this is still helpful.
Hope you have already set the Android Preferences if not Window -> Preferences-> Android and browse to the android SDK folder.
In rare cases even after doing this step, Android Project option doesn't show up in File -> New. But you can get it by File -> New -> Project .. and choose the android project from the options displayed.
Ok. I reinstalled eclipse and android. I think the problem was that I hadn't unpacked the android tools first. The plugin was installed, but it had nothing to talk to! Anyway, all the android related stuff now shows up in Eclipse.
Using Windows 7, 64-bit edition, with the latest Eclipse (Indigo) and the latest ADT plugin, I had the exact same problem. No Android project type, no Android in Windows/Preferences.
Like #Rubberman I solved the problem by totally re-installing Eclipse. Eclipse doesn't seem to use the standard Add/Remove Program stuff in Windows; I just deleted the Eclipse install directories and my Eclipse workspace directory, re-installed Eclipse, and re-installed the ADT plugin.
I would have liked to have just removed the plugin and re-installed without deleting the whole of my Eclipse install, but I couldn't figure out a way to do that. I don't see any way to remove a plugin, and when I tried to choose ADT for installation Eclipse gave me an error, saying "I can't install that because it is already installed."
I Know its a very old post..but still it may help someone with same problem...
I wanted to jst share that we can uninstall the plugins without the need of reinstalling eclipps..by simply going to 'already installed application' link and selecting all the android related options and simply clicking on uninstall button..Now you can add fresh android sdk to your ecllips..I have tried it and it works..
Hope, I helped aomeone..:-)
Ok, been looking for the answer to this for an hour, it's not well mentioned.
if you are using linux then you need to add 2 more things to install ADT correctly:
GEF from http://download.eclipse.org/tools/gef/updates/releases
WST Server Adapters from http://download.eclipse.org/releases/galileo/ (modify for your release)
do it the same as the adt plugin install.
maybe you need to uninstall then reinstall the adt plugin after?
sources:
ubuntuforums.org/showthread.php?t=1595684
sonalsantan.blogspot.com/2010/10/eclipse-adt-plugin-on-ubuntu-1010-after.html
You have to install the Eclipse plugin called ADT.