I tried to install adt 23.3.0 in Eclipse Kepler, but I have a problem. I tried every thing such as run as administrator or uncheck contact all update sites ... But I still have the same problem. I use Windows 8.1 and the error is:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826)
Missing requirement: Android Development Tools 22.3.0.v201310242005-887826
(com.android.ide.eclipse.adt.feature.group 22.3.0.v201310242005-887826) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I'm not exactly positive about this but since this question has received very little attention I figured any answer is better than no answer.
From what my understanding it is done differently in Eclipse Juno which you do from within Eclipse.
Instead you have to download the Android SDK separately and then set the SDK path in preferences...
window>preferences>Android>sdk location.
Make sure to create a folder in the same directory as Eclipse so Eclipse can easily locate the sdk. Hopefully this helps
Related
I just downloaded java JDK 8 and set the environment variables for JDK and JRE, downloaded android SDK extracted them directly to C: (there were no platform tools so I used the command line to download them) and also set the environment variables. And I downloaded eclipse oxygen and I installed new software for ADT Plugin. When I set preferences I referred to the SDK folder and hit apply but nothing seems to happen like no SDK targets are listed. Hhuhuhuhuhuhuhu T^T I have deleted everything from Java, SDK, eclipse and downloaded them all again while disabling my antivirus but that didn't fix it. I also cant open my Android SDK Manager using eclipse, like it shows that it's loading but after that nothing happens even if I wait for 10 mins nothing shows up on screen, not even the command line that seems to just flash briefly which is what most people are having problems with when I search google. Can someone please tell me what to do?? I'm mainly using eclipse for android projects in school
By the end of 2015, Google ended the development and official support for the Android Developer Tools (ADT) in Eclipse.
As stated by Google, every app development project should be migrated to Android Studio.
So you should migrate your eclipse project to android studio.
I have been trying to setup LibGDX on Eclipse (4.3). I followed the instructions here: https://github.com/libgdx/libgdx/wiki/Prerequisites and installed both ADT plugin for Eclipse and the Google Web toolkit successfully. Then I used the libgdx-ui.exe to create the libGDX project and on creating it, I see errors in Eclipse.
I am pretty sure I have installed the plugins properly and I have JDK 7 as well.
Any help would be greatly appreciated.
Thanks :)
It seems I have not installed the GWT plugins properly. But on trying to install it from the link, the option to install the SDK does not appear in the list.(Please check the image in the last comment I posted).
1) Android requires (before kitkat) jdk 6. It won't work with jdk 7.
2) After installing ADT plugin, you also have to open android sdk manager and download required api files.
These two should fix your android and java.lang.Object issues. It's better to test an android app on this setup (without libgdx) first.
3) Right click on all warnings regarding classpath entries, eclipse will provide you automatic quick fixes.
If the issue stays after this, the problem is with gwt sdk installation. Now you can follow The project XXX does not have any GWT SDKs on its build path. It should work smoothly as other problems won't interfere with it now.
Hope this helps.
I read Lars Vogel's Android Development tutorial and then headed directly to the Android SDK download page.
I already have the Eclipse Java EE IDE (Juno; 4.2) installed, and would like to only install the Android SDK and then the ADT Eclipse plugin so I can start working from my existing Eclipse instance. As such, I downloaded the 64-bit linux (I'm on Ubuntu) "SDK Only" .tgz and extracted it to the my ~/sandbox/android-sdk directory.
Before I go and install the ADT Plugin, are there any "setup"/config steps with the SDK that I need to do ahead of time? If so, what? I'm even interested in optional tuning here. I only ask because the article referenced above is targeted at Windows users, and so are most of the other tutorials I've found. I'm worried that there might be some out-of-the-box functionality that the Windows SDK provides that must be dealt with manually for us Linux denizens. Thanks in advance!
From my experience, I believe the answer is no, there is nothing else you need to do before installing the ADT Plugin. If you wanted, you could open the SDK manager from ~/sandbox/android-sdk/tools/android and install some of the SDKs, but there's no reason you can't just do that from Eclipse after you install ADT.
EDIT: I fixed it by not installing the NDK Development stuff. I don't know what it is, or what it does, but it fixed my problem.
I'm on Windows 64-bit, using Eclipse Helios, and trying to install the latest Android SDK. So far, I've been able to download and install the SDK Manager and successfully ran through its stuff.
The trouble comes in when I try to install inside of Eclipse (Help -> Install New Software). Every time I try to install using either the URL address (http://developer.android.com/sdk/installing/installing-adt.html) or the .zip file I get this error:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, > phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Comparison method violates its general contract!
Comparison method violates its general contract!
The internet doesn't seem to have any answers that I can find. Thanks!
Late to the conversation...
But I have found this error when trying to install packages, not at all associated with Android, from older Eclipse versions, which by now includes Helios. It actually took me a while to figure out all those Eclipse project names are actually versions. At the time of this writing, Eclipse Kepler is the latest, once I upgraded (pretty much a fresh install) to Kepler and tried again to install the packages, everything worked fine.
Hopes this is helpful to somebody.
Run eclipse as administrator and install Android SDK.
You must use https://dl-ssl.google.com/android/eclipse/ for SDK installation.
See Install ADT Plugin
By the way, which version of java are you using? I reckon the error is possibly an eclipse bug, related to Java 1.7.
Try JRE 1.6 and see if it works!
You need the following tool for starting the android devolopment
(1) Eclipse ide
(2) ADT for eclipse (android plugin for eclipse)
(3) Android SDK
You get a brief idea about each of these steps from the following link
http://codeglympse.blogspot.in/2012/10/installing-eclipse-and-android-sdk.html
I've somehow managed to mess up my Eclipse and Android set-up and I'm not sure how to fix it. The symptoms of the problem are as follows:
In Preferences > Android, I try to select the location of android-sdk-linux, when select the error appears "This Android SDK requires Android Developer Toolkit version 20.0.0 or above. Current version is 18.0.0.v201203301601-306762. Please update ADT to the latest version."
Going to Help > Check for Updates in Eclipse, returns no updates found
Going to Help > Install new software and selecting work with ADT Plugin - https://dl-ssl.google.com/android/eclipse/. Selecting Developer Tools and next, returns
Cannot complete the request. See the error log for details.
"Android DDMS" will be ignored because it is already installed.
"Android Development Tools" will be ignored because it is already installed.
"Android Hierarchy Viewer" will be ignored because it is already installed.
"Android Traceview" will be ignored because it is already installed.
"Tracer for OpenGL ES" will be ignored because it is already installed.
If I then take a look at what is already install, Android Development Tools is listed and the version is 20.0.0.v201206242043-391819
Now for the interesting part:
If I go to Help > About > Installation Details > Features is lists Android Development Toolkit as Version: 20.0.0.v201206242043-391819 but if I then go into Plug-ins it lists Android Development Toolkit as Version: 18.0.0...
Sorry for yet another question on updating the ADT as there already seem to be quite a lot of questions on the topic but I've tried the typically solutions and they does seem to be getting me very far
Some extra info, that people often ask for
OS: Ubuntu 12.04 LTS
Eclipse Platform: Version 3.7.2
In your installed folder of eclipse there is a folder named plugins.
Do the following:
Find the plugin file/folder of Andriod SDK and move it to some other folder for backup.
Download from Android site the latest version of Android SDK
Copy/paste it in your plugins folder
Restart eclipse
And everything should be fine.
Try using http://dl-ssl.google.com/android/eclipse/ instead of https://dl-ssl.google.com/android/eclipse/
In the end, I just couldn't fix it so I complete uninstalled it and set it back up again from scratch, thanks for your help
Run software updates in Eclipse (Help > Check for Updates) and update the ADT.
I know I'm late to the game on this one, but I figured I would contribute since I ran into the same problem myself. In order to check for installed plugins in Eclipse, do the following.
From the Eclipse Preferences Menu..
-Select "Install/Update"
-From the General Menu, There should be a link button that says "Uninstall or Update"
This should take you to a prompt that will allow you to uninstall anything you've added onto your Eclipse setup!
Go to the below site
https://developer.android.com/sdk/installing/installing-adt.html
and download ADT-22.3.0.zip from the site.
then follow the procedures mentioned there..
uncheck "Contact all update sites during install to find required software"
see: Can not install Android ADT 21.1 on eclipse Juno (Windows 7) after upadate to SDK 21.1
After updating the Android SDK Tools to the latest version from the SDK manager, do the following:
Go to Eclipse->Help->Install new software
Type https://dl-ssl.google.com/android/eclipse/ in the "Work with" Text box
From the list, select all and then click next
Now Eclipse will prompt you that in order to install these new software, Eclipse will uninstall the old version (in this case Android Developer Tools), click on next, read and accept the license and wait for it to download
Restart Eclipse and everything should be working fine.