Im unable to install ADT on Eclipse 3.5 - android

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/

Related

Can't create Android Application Project in Eclipse

I have a problem with creating Android Application project in Eclipse on my Mac. When I start Android Application Project Wizard after clicking "finish" in the last step, this window appears:
I've been trying to solve this for hours, but none of the solutions I've found on the internet worked for me (including this). I didn't try to reinstall eclipse itself, but to I don't want to do this. What's the solution to my problem.
UPDATE:
I removed Eclipse and sdk from my computer and downloaded the whole ADT Bundle from here and switched workspace but actually I am still getting the same Errors.
What I found up on the internet was that you could have upgraded your java. So this occurred. The solution to this problem for Mac is to edit the Eclipse.ini file to use java 1.6 .The code Below will work :
-vm/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/java
Start with a clean slate. Unistall Eclipse and redownload - Eclipse is a very big program and can be very buggy at times for no reason. While it is not the quickest solution, ensuring that Eclipse was properly downloaded and installed will provide a good foundation for the future development of you Android applications. Did you install Eclipse just for Android, or did you have a pre-existing copy and want to install the Android SDK?

Unable to Download Packages via Android SDK Manager

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

Uninstalling Android ADT

This seems like a trivial task, but I can't find an option to cleanly de-install the ADT from my Eclipse installation.
Of course, I could just delete the folder of the SDK, but this just throws errors when starting up Eclipse the next time. The reason I'm asking is because my old ADT keeps throwing a wierd error (Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list.xml, reason: File not found) and I need a complete, fresh re-install.
Important:
under
Help -> about eclipse sdk -> installation details
the uninstall button for all android plugins is greyed out
The only way to remove the ADT plugin from Eclipse is to go to Help > About Eclipse/About ADT > Installation Details.
Select a plug-in you want to uninstall, then click Uninstall... button at the bottom.
If you cannot remove ADT from this location, then your best option is probably to start fresh with a clean Eclipse install.
I found a solution by myself after doing some research:
Go to Eclipse home folder.
Search for 'android' => In Windows 7 you can use search bar.
Delete all the file related to android, which is shown in the results.
Restart Eclipse.
Install the ADT plugin again and Restart plugin.
Now everything works fine.
I had the issue where after updating the SDK it would only update to version 20 and kept telling me that ANDROID 4.1 (API16) was available and only part of ANDROID 4.2 (API17) was available and there was no update to version 21.
After restarting several times and digging I found (was not obvious to me) going to the SDK Manager and going to FILE -> RELOAD solved the problem. Immediately the other uninstalled parts of API17 were there and I was able to update the SDK. Once updated to 4.2 then I could re-update to version 21 and voila.
Good luck!
David
If running on windows vista or later,
remember to run eclipse under a user with proper file permissions.
try to use the 'Run as Administrator' option.
i got the same problem after clicking update plugins,
i tried all the suggestions above and failed , the only thing that worked for my is reinstalling android studio..

Unable to install Android ADT Plugin for Eclipse Helios 3.6.2

I am a new Android developer. While trying to install the ADT Plugin for Eclipse on a Win 7 system, I encountered this warning:
Warning: You are installing software that contains unsigned content. The authenticity or validity of this software cannot be established. Do you want to continue with the installation?
I clicked the 'OK' button to proceed, and was greeted with another pop-up window bearing the following message:
Problem occurred:
'Installing Software' has encountered a problem.
An error occurred while installing the items
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.android.ide.eclipse.adt 10.0.1.v201103111512-110841, action=).
Failed to prepare partial IU: [R]com.android.ide.eclipse.adt 10.0.1.v201103111512-110841.
Rebooting my machine did not help, neither did reinstalling a fresh copy of Eclipse.
Any help will be be appreciated!
Thanks!
I've had this problem too and I came across a few solutions that may help you.
Turn off your anti-virus software, some people have reported that it has been corrupting the plug-in. Redownload the plug-in and try again.
Turn on auto update by Eclipse -> Preferences ->Install/Update -> Automatic Update so that all the components you are using are current. This comes from AlphaBeta's response from the following thread http://groups.google.com/group/android-developers/browse_thread/thread/f3e69ff660789794/b1e12e80386142d0?pli=1
Make sure there are no spaces in the path where you installed eclipse, if there are delete the spaces in the folder names. Another user (ericdelang#gmail.com) on the same thread said this solved the problem from him.
Finally, what worked for me was unzipping ADT.14.0.0.zip and copying all the files from the plugins folder in ADT.14.0.0 to the plugins folder in eclipse. I have a mac and so this means I copied the following files from the ADT.14.0.0.zip archive:
com.android.ide.eclipse.adt_14.0.0.v201110171935-205994.jar
com.android.ide.eclipse.ddms_14.0.0.v201110171935-205994.jar
com.android.ide.eclipse.hierarchyviewer_14.0.0.v201110171935-205994.jar
com.android.ide.eclipse.traceview_14.0.0.v201110171935-205994.jar
overlay.com.android.ide.eclipse.adt.overlay_14.0.0.v201110171935-205994.jar`
into the folder /Applications/eclipse/plugins. Now install the plugin normally like it says on the developer.android.com page.
installing it via site or archive? try changing the way you are installing. I installed with archive and it worked well, sometimes it gives problem in installation via update site due to firewall issues.

Android ADT Plugin doesn't show up in Eclipse

I'm using Windows 7 and installed the 64 bit version of Eclipse 3.5.2. I then installed the Android ADT plugin, but when I try to configure it in the Windows > Preferences dialog, the Android Plugin doesn't show up in the left pane. Instead I see DDMS. This prevents me from specifying the location of the Android SDK (unless there is another way) to give me the appropriate templates and such.
Someone posted a fix to this that includes setting the permissions of Eclipse, but that didn't work for me. I tried installing the Android Plugin from both online installation (thru the URL install) and the offline Archive method.
If you're running Windows Vista or 7, make sure you right-click Eclipse and RUN AS ADMINISTRATOR. I literally spent six hours figuring this out, and this was what fixed it.
Dear people from the future:
I had roughly the same problem in linux, except that i didn't see anything at all but vanilla eclipse after installing. by combining both previous answers i got it to work:
start eclipse with sudo eclipse -clean, install the plugins and restart eclipse. the plugins showed up including the welcome screen that's supposed to be there.
after that it should work when running as regular user as well.
works for both the android sdk and the gwt sdk. (and probably other eclipse plugins)
Remove the plugin, then restart as follows:
eclipse -clean
Now try reinstalling the ADT from the online installation
For users having similar problem and not luck with other solutions:
I have windows XP but had same problem. I realized that I had JDK5/bin folder in my PATH environment variable (though my JDK_HOME was pointing to JDK6), as soon as I modified the PATH to replace bin of JDK5 with JDK6, the Android buttons on eclipse (after restart with -clean) along with Android option in Preferences & New Project showed up. (Weird eh!)
Also, consider to install the bundle android installation having eclipse with pre-configured Android SDK if a new eclipse installation doesn't matter to you
http://developer.android.com/sdk/installing/bundle.html
The above answers do not confront the heart of the problem. There is a feature in Windows 7 that prevents downloaded files from direct access of local files. All of the state is perfectly maintained in the Eclipse workspace instance. The problem is easily resolved by doing the following:
Find the "Eclipse" executable
Right-click on it.
Click "Properties".
Select the "General" tab.
Look for -> Security: "This file came from another computer and might be blocked..."
Click Unblock.
This is a much better solution than uninstalling and reinstalling the ADT or Eclipse which can be a pain.

Categories

Resources