Though this is a common question . I have searched for almost every topic related to this problem . Did everything people say , but it just didn't work . I disable my firewall , disable antivirus . Run eclipse as administrator , But just cant install . Even I tried offline installation . But I failed . I have tried every possible way .
I tried by using both:
http://dl-ssl.google.com/android/eclipse/
https://dl-ssl.google.com/android/eclipse/
Dont know what to do . It seems I can never try android programming on my PC.
My Eclipse version : Eclipse Classic 4.2.1
Few things:
What errors are you getting?
Someone else had some issues with ADT / Eclipse Classic. Read this post Installing Android ADT plugin v9.0.0 on Eclipse Classic 3.6.1 failed
Is there any reason you can't use Eclipse IDE for Java EE Developers. This will ensure that the java related prereqs are met.
Re-install Eclipse. Might be something wrong with the original install or files missing. (Just saying)
--EDIT--
Are you using JDK 7? Some people have complained that this is a problem with JDK 7, and downgrading to JDK 6 fixed the problem. I would give it a shot if nothing else works.
Are you going through a proxy? I had the same exact issue on my end, and I solved it by correctly entering proxy information.
Related
It shows that I've already installed the Android SDK but I can't find it.:<
Tried in terminal to see what's in the folder but find nothing, this location is empty. Why the app tell me that I've installed it? How can I solve this problem? Thank you!!
I would say that you reinstall Android Studio after checking the SDK Manager at first. The SDK Path may also be corrupted, so check that.
For me it was two issues, proxy settings although tested okay was not connecting to display the list of available SDKs. Also launching Android Studio using "Run as administrator" was also required.
I had exactly the same issue and I came across this post but then before implementing the suggested solutions, I decided to first restart my AndroidStudio, on restart it gave me the option to download SDK and after that, it worked perfectly well.
I have fixed it by downloading the Android SDK from IntelliJ rather than Android Studio.
Then restart Android Studio, It detects the installed version.
I have recently installed Android SDK on my computer running Windows 7 x64.
I then installed the Eclipse ADT plugin. I am running Eclipse Juno JEE.
When I attempt to run the SDK Manager through Eclipse, I receive the following errors:
Nothing I have tried has allowed me to download/install/update Android SDK and its packages.
I have tried https and forcing http
I have tried running calling program as administrator.
I have added Eclipse, SDK Manager to Firewall exceptions.
I have turned off my antivirus.
I have turned off my firewall.
I have tried various combinations of the above.
I can navigate my browser to both URLs (using Firefox). That should negate "Failed to read..." options 1 and 2. Option 3 seems to be the likely candidate as the XML files do not, in fact, include the <'xsd:schema'> tag. However, I don't know how, if, or where I might be able to point SDK Manager to a local, modified copy of these XML files, or if that would even solve anything.
Any help would be greatly appreciated.
Note: I have installed Android SDK/ Eclipse ADT Plugin on the same machine in the past. This is a fresh install after a recent reimage.
I am not sure if this answer's your question exactly to the point but yet I hope this helps you.
As u wrote it looks like you have downloaded eclipse from its website and android sdk separately from Android website. Why don't you download the Android SDK ADT package with pre-eclipse setup.
That will make your job way lot easier.
The file name would be something like this:
adt-bundle-windows-x86_64-20130729.zip
I just updated eclipse and the Android Developer Tools plugin and now when I make a new project and try to run as android application, I get an error: "Your project contains error(s), please fix them before running your application". There is no visual errors (red x on the file name ). I have made several simple projects in the past with success. So I uninstalled eclipse and followed a couple tutorials step by step on setting up an Android developer environment with Eclipse Helios, Ganymede, Indigo with no success.
Does anyone have any idea what the problem could be?
thanks in advance.
EDIT
Thanks for the quick response. I did figure out the problem. Before the problem occurred, I had re-downloaded the android SDK changed the path. But then forgot to install a platform in the new environment.
A common error is that there is a space in the Android toolkit filepath. Make sure it is in a location like "C:/android/android-sdk" rather than something with spaces in it.
Give this a try, and if it doesn't work, please post the actual errors you are receiving.
EDIT:
This has apparently been fixed since r13 of the SDK tools, though it may still be an issue for older versions.
Today, i tried to update the Android tools i use on Eclipse to version 8.0 and the Android SDK to version 2.3. This caused a loss of adb from tools directory. I managed to retrieve it again and put it back. Then, i searched the forum and found this, that eventually helped me to solved it, by updating the Eclipse first.
So, why is there no warning of proceeding to Android tools update, without updating the Eclipse first, can cause this kind of troubles?
It could have saved some time...
Not to offend anyone, I concur with Niko.
If it was mentioned that Eclipse ADT plugin MUST be updated as adb has been moved - it would have saved some pain.
I have installed these things since Mr Android was born, and I had trouble myself. I go to forums to seek solutions, when I have read the docs and they did not help, and probably whine a bit, coz I'm sure more people are facing this issue. :)
I have a step by step process here:
http://codevelle.wordpress.com/2010/12/08/up-and-running-with-sdk-2-3-with-eclipse/
Thanks,
Shesh
Please have a look at the docs. The /tools folder has been moved to /platform-tools. You need to add this new location to your (class)path ...
Regards
Harald
Im having a problem regarding installing ADT plugin on Eclipse.
the error prompt was
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://download.eclipse.org/releases/galileo/201002260900/aggregate/plugins/org.eclipse.emf.common_2.5.0.v200906151043.jar.pack.gz.
.
.
.
The server download.eclipse.org failed to respond
Is there any other location where i can download ADT for eclipse?
thanks
You might want to check your network settings as it will not work under proxy or firewall.
http://developer.android.com/sdk/adt_download.html
Click on the latest version which is ADT-0.9.6.zip as of right now.
I am experiencing the same problem. The problem resides not in the ADT repository but in the Eclipse (Galileo) repository.
There are certain dependencies for ADT that need to be installed in order to install ADT. At this moment the repository for Eclipse doesn't seem to work. It can't install the dependencies.
So far i have been able to locate some of the dependencies, downloaded them by hand used unpack200 to unpack them and put them into my ~/.eclipse/org.eclipse.platform_3.5.0_155965261/plugins but i guess they have to be registered somewhere else because i'm stil getting errors on the same file which is actually existing in the plugins directory.
The weird thing is that when i browse to the repository source using Firefox the site does open up. Yet if Eclipse tries to download the required filed it fails, which is not an Eclipse problem because wget or firefox are also unable to get the files.
I've been trying to get it to work for several days now, because i thought that it might be able for download.eclipse.org to be down for a few hours perhaps. Yet it's still not working.
Here's part of the error message i'm getting:
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http:/ /download.eclipse.org/modeling/emf/updates/plugins/org.eclipse.emf.common_2.5.0.v200906151043.jar.pack.gz.
The server download.eclipse.org failed to respond
Unable to read repository at http:/ /download.eclipse.org/modeling/emf/updates/plugins/org.eclipse.emf.ecore_2.5.0.v200906151043.jar.pack.gz.
The server download.eclipse.org failed to respond
and that list goes on for a couple of more files...
The web seems to be full of people trying to get around the issue of installing ADT on Lucid Lynx.
Ive tried a few things but nothing seems to work for me. The bottomline is just that the Eclipse shipping with Lucid refuses to install any plugins.
I ended up following this tutorial: http://qtcoder.wordpress.com/2010/05/12/installing-android-sdk-on-ubuntu-10-04-lts-lucid-lynx/
This tutorial doesn't install eclipse as a dkpg package but if you just extract it into your home directory and run it from there it works like a charm. If the dpkg is fixed at some point you can always go by removing the manual Eclipse install and install the dpkg instead and things should just continue working as your configuration still resides in ~/.eclipse
Keep in mind that you require the 64 bit version of eclipse if you run the 64 bit version of ubuntu or eclipse won't start.
Happy devving
My problem is fixed, I was having an error at first because im using the Classic version of eclipse. But when I downloaded the Eclipse JavaEE version the ADT installation worked.
P.S.
I was using windows here in the office.
Anyways, Thanks for all the replies.
I have successfully installed ADT on eclipse classic.(Mac)
Select and install the developer tools one by one .It worked for me.
I had the same problem and solved it by going into "Available Software Sites" and unchecking the update site with the numbers at the end of the URL, and checking the one without the numbers.
in my case:
uncheck: http://download.eclipse.org/releases/juno/201206270900
check: http://download.eclipse.org/releases/juno/