problem installing ADT for eclipse - android

I have installed Eclipse on my laptop - it seems to be the Indigo version. The I tried to Install new software. I entered the https://dl-ssl.google.com/android/eclipse url into the Work With box. After pending resolved itself I then pressed next and now have a view of the items and an error saying that a shared profile (maven) is missing. I am stumped as to what to do next!!

The Android SDK works fine with Indigo, and providing you started from a clean Indigo installation, the update site you mentioned should work just fine.
I would suggest downloading a fresh copy of Indigo, hold off installing any other plugins and trying again with that update site. Works fine on my windows 7 machine.
(it's also a good practice not to re-use existing eclipse installations for Android development. IMHO its better to setup a dedicated eclipse installation for it to ensure that other plugins / dependencies mess up the install).

I had the same problem.
Instead of just picking some other versions od ADK and hoping the best, I recommend to take the whole Eclipse + Android set from Google. With this you will get co-working peaces of your IDE. It's not very techy way solve this problem- but it WORKS! Just remember to uninstall your old Eclipse first.
So from here you will get the whole package:
http://developer.android.com/sdk/index.html
""With a single download, the Eclipse ADT bundle includes everything you need to begin developing apps:
-Eclipse + ADT plugin
-Android SDK Tools
-Android Platform-tools
-A version of the Android platform
-A version of the Android system image for the emulator""

Related

Use Android sources plugin with Eclipse ADT bundle

I followed android.com's instructions for installing eclipse with android developer tools (ADT) bundle. I then in eclipse do Help > Install New Software... to attempt to install Android Source Plugin which I have happily used for at least a year on my old eclipse installation.
Attempting to install it using Java Rel7, I get an error which I found some bug reporting was due to running eclipse on Java Rel7. So I tried to run Java Rel5 but this version of eclipse needs Java Rel6. So I installed Java Rel6 and tried running eclipse on that and installing the Android Source Plugin, but that failed too.
Anybody else run in to anything like this? Know any workarounds?
You could try installing eclipse and the SDK seperately. I've had to install android a few times recently on different machines and this is the approach Ive taken. You can download eclipse from the eclipse website at http://www.eclipse.org/downloads/. (I have the first option Eclipse IDE for Java EE developers).
After that is installed you can install the android sdk using this guide http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/
Also make sure if you want to test on a phone that you go into the android sdk manager (should appear somewhere in eclipse when SDK installed) and download the updates there.

Android ADT 20.0.2 not registering in Eclipse

I'm trying to add the Android ADT plug-in into eclipse. It downloads and installs fine, there are no errors, but the changes don't show up when I restart eclipse. I'm using Juno but I have tried this on Indigo as well and got the same problem. I am working on windows 7, 64 bit.The eclipse versions are 32 bit.
I've tried running as administrator, moving the folder to c:/eclipse..., running from the command line with eclipse -clean. I've tried new installs multiple times.
In help - about eclipse - Installation Details - Installed Software, Android Development Tools shows up. When I go to windows - preferences, android doesn't show up on the left. I can see the com.android.ide.eclipse.adt_20.0.2.v201207191942-407447 file in the plug-in folder along with the other ones.
To install Eclipse, all I did was download the zip, open with windows explorer, and move the eclipse folder into the desktop. The file structure is unchanged.
I also tried deleting .eclipse and.android folders in the c:/users.
And I tried downloading the zip file to my desktop and installing software with the archive button. No luck.
Just wondering, do you need the Android sdk to be installed before the ADT?
Hoping its something simple. Thanks for your help.
I use Win7 64 bit as well, Eclipse (indigo and Juno) 32bit and ADT and working ok.
I am using Eclipse for Java Developers
On Installed Software you should see for the ADT: (make sure you installed all when Installing new software) You need all items that are shown except the NDK except if plan to code in C++;
Mine shows this on Installed Software:
Android DDMS
Android Development Tools
Android hierarchy Viewer
Android Traceview
Also remember you need the android SDK for development which is a separate installer.
http://developer.android.com/sdk/index.html
I'm not sure what the problem was but I installed 64 bit Juno and 64 bit Java JDK. I removed older jdk's which may have been part of the problem. For whatever reason, it's working now. Thanks.

ADTr20 doesnt get installed in my eclipse

I have updated my android sdk to sdkr20, before i used r16 and my eclipse version is
Version: Indigo Service Release 1
Build id: 20110916-0149
but when I try to install ADTr20 it doesnt get installed and says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Native Development Tools 20.0.0.v201206242043-391819 (com.android.ide.eclipse.ndk.feature.group 20.0.0.v201206242043-391819)
What should I do now?
I'd suggest trying a fresh install of eclipse. But don't get Juno (the latest version) as there is a bug that makes the XML editors not work with ADT (see http://code.google.com/p/android/issues/detail?id=34630).
Can you try updating eclipse first?
Then let it do its thing like so:
Then select the option only for tools (do not select anything else)
Once that installs successfully, try installing the other updates one by one, say select DDMS only first and so on
Note: At times, removing development tools and then installing it again helps to resolve such issues as well
They say you should use Eclipse Indigo

ADT requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found

I'm installing the Android SDK on a fresh installation of Fedora 14 (Linux). I installed eclipse, and ran the tools/android sdk tool to install all the Eclipse components for the SDK. I was able to get DDMS to install when selecting it by itself.
And for the last component - the Android developer tools, I'm getting the ugly error message pasted below.
Now I'm Stuck in Eclipse dependency hell.
I've searched through the available packages in Fedora and I can't find the one that has the files necessary to satisfy this Eclipse dependency. Can anybody please translate what it is that Eclipse is asking for and what Fedora package it lives in?
The ugly error:
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953)
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
I've just encountered exactly the same problem in Eclipse 3.6 (Helios). After plenty of Googling I came across this link:
http://code.google.com/intl/es/eclipse/docs/faq.html#wstinstallerror
During installation, there's an error
about requiring
org.eclipse.wst.sse.ui. How do I fix
that?
The Google Plugin for Eclipse depends
on other specific Eclipse components,
such as WST. Your installation of
Eclipse may not yet include all of
them, but they can be easily installed
by following these instructions.
Eclipse 3.6 (Helios)
Select Help > Install New Software...
Click the link for Available Software Sites.
Ensure there is an update site named Helios. If this is not present,
click Add... and enter
http://download.eclipse.org/releases/helios
for the Location.
Now go through the installation steps; Eclipse should download and
install the plugin's dependencies.
(There are examples in that page for 3.5 (Galileo), 3.4 (Ganymede) & 3.3 (Europa) for anyone with different versions)
The exact same steps work for 3.7 (Indigo) as well.
Just use http://download.eclipse.org/releases/indigo for the location.
Juno: http://download.eclipse.org/releases/juno
Kepler: http://download.eclipse.org/releases/kepler
Note: Step four is not necessary. Only steps one to three are necessary.
For Eclipse 3.7 or Indigo the winning URL is
http://download.eclipse.org/releases/indigo
And for 3.8 it is
http://download.eclipse.org/releases/juno
I encountered the same problem in eclipse 3.7 indigo
and I have done the folowing:
help->install new software
click on "available software sites"
select all entries (CTRL-A) and remove them
add new entry at location http://download.eclipse.org/releases/indigo/
now add again the ADT location http://dl-ssl.google.com/android/eclipse/
If you're downloaded and installed a Classic version of eclipse you are missing the essential Java Development Tools required by the Android SDK etc
I found that installing the Eclipse Java Development Tools & Java EE Tools solved this problem for me in Eclipse 3.7.
It seems obvious to many Java Developers but to those new to the IDE and JAVA etc it's important to note that they don't installed come with the "classic" version of Eclipse.
Adding the link to the Helios repo http://download.eclipse.org/releases/helios wasn't enough.
In windows 7
Run the eclipse as administrator
goto Windows->Preferences->Instal/update->check "all version of available softwares" and apply--> ok
goto Help->Install new software-> add-->put the URL add or ADT zip file -->ok
thats all and its working....
I was also browsing these answers,but I couldn't get any answer to my problem.But through hit and trial I found the following solution.
First of all update your eclipse by going on Help-> Check for updates .Then, go to Install New Software and give adt location(local or url),then do check Contact all update sited during install to find required software and it would do the rest.
I am not sure whether this solution works well for other,but it worked for me and hope it works for some troubled developer out there
And for the Juno-version:
You just have to add it - not to install anything.
I found that removing ~/.eclipse solved this issue for me on the stock Ubuntu eclipse
For me, running win 7 64, eclipse 3.7.1 64, It was simply to run eclipse as admin, go through the listed steps.
Using Ubuntu 11.10 I was able to fix that issue by reinstalling Eclipse (in my case 3.7) as follows:
sudo apt-get purge eclipse
sudo apt-get install eclipse.*
From there on installing the Android SDK just worked fine.
In my case, I got the above error because the Indigo and "Eclipse Project Updates" items in the "Available Software Sites" pane were disabled.
All I had to do was toggle them to the enabled state and my ADT Plugin installation went like a breeze (as far as eclipse installations go, I guess)
I had this problem as well.
Running Windows 7 (64 bit), Eclipse Indigo. Tried all the different suggestions, but finally, simply unchecking Contact all update sites during install to find required software (running Eclipse as Admin, although I don't think this was important) got everything working fine. I hope this helps someone.
Install Google Plugin for Eclipse corresponding to your version.
for 3.6 helios link is http://code.google.com/intl/es/eclipse/docs/install-eclipse-3.6.html
for offline version http://code.google.com/eclipse/docs/install-from-zip.html
hope it will solve mine problem as well as yours.
I got a similar error in Windows Vista 32-bit when using Eclipse Classic 3.7.2 package, but it worked well after I downloaded and used Eclipse IDE for Java EE Developers.
straight steps to get your ADT plugin working
Download eclipse helios EE IDE not the classic version
After unzip directly go to Checks for Update from help menu
After it get updated download ADT plugin offline version from ADROID site
Now go to Help again -> Install New software -> add -> click on archive then point to your download ADT ADT-17.0.0.zip. Give any name in name field say ADT. click ok
now from work with drop down select the adt plugin name which you given
now go ahead with installation. enjoy :)
What I did (Helios):
1) Go to Help -> Install New Software...
2) Select or add new location http://download.eclipse.org/webtools/repository/helios/
3) Check WTP of latest version checkbox and press next
4) Most probably u will get into 'additional dependecies required' situation, but that new screen will show u which packages have wst in their names, u should procede with installation of that *wst* packages
5) U didn't get 4th point stuff. In that case u have required wst packages installed.
Enjoy. Or not... :)
Android developer
For those using eclipse 3.7
add the following after the http:// prompt download.eclipse.org/releases/indigo
Then click on "help" menu and click "check for updates
To help remove some of the guess and check on which dependencies are needed.
After a fresh Ubuntu install I needed the following.
Error 1:
***Missing requirement: Android Development Tools 0.9.6.v201002051504-24846 (com.android.ide.eclipse.adt.feature.group 0.9.6.v201002051504-24846) requires ***'org.eclipse.gef 0.0.0' but it could not be found
Update site:
GEF and Draw2d Plugin from http://download.eclipse.org/tools/gef/updates/releases/
Error 2:
Missing requirement: Android Development Tools 0.9.9.v201009221407-60953 (com.android.ide.eclipse.adt.feature.group 0.9.9.v201009221407-60953) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Update site:
Eclipse XML Editors and Tool from http://download.eclipse.org/releases/indigo
Use
http://dl-ssl.google.com/android/eclipse/ instead of https
Update for Fedora 16
Note that this is now provided by a package, so the recommended Thing To Do is
pkcon install eclipse-wtp-sourceediting
This appears to be a one-shot “magic bullet” to get everything that Android's ADK plug-in requires on Fedora 16 (at least).
None of the existing answers worked for me. Having all the correct update sites in "available sites" was not enough to tell Eclipse how to find its dependencies.
Using Fedora 14 and Eclipse Indigo 3.7.1, I had to follow these steps to make the installation working:
Check and install "Linux Tools" from http://download.eclipse.org/releases/indigo
Check and install "Linux Tools" from http://download.eclipse.org/releases/indigo/201109230900
After restarting Eclipse, I was able to finaly install the Android SDK.
During installation, there's an error about requiring
org.eclipse.wst.sse.ui. How do I fix that?
The Google Plugin for Eclipse depends on other specific Eclipse
components, such as WST. Your installation of Eclipse may not yet
include all of them, but they can be easily installed by following
these instructions. Eclipse 3.6 (Helios)
Select Help > Install New Software... Click the link for Available
Software Sites. Ensure there is an update site named Helios. If this
is not present, click Add... and enter
http://download.eclipse.org/releases/helios for the Location. Now go
through the installation steps; Eclipse should download and install
the plugin's dependencies.
//Try to install the extension "eclipse plugin development environment"
Use http instead of https:// and it will solve this problem.
http://dl-ssl.google.com/android/eclipse/
none of above worked for me. This did:
Remove Eclipse (I think this is discussed above).
Get THIS eclipse. (The others don't have java).
This eclipse has java in it, the apt-get one doesn't
Follow these stepsThis guy nailed it. It shouldn't be this hard, but it's not that bad...
After that, I was able to bring back my Android stuff via the normal "Install new Software",
I ran into this issue to. What i did was simply extract the eclipse package using 7-zip instead of the inbuilt windows extractor.
Add this for eclipse juno
I was able to install ADT plugin after this on ubuntu 12.04
.
Eclispe 4.2 Juno Service Release 2
Trying to install Google Plugin for Eclipse failed even when "Contact all update sites" was enabled.
After installing the Juno JST/WST Server packages it worked.
Help > Install New Software...
Work with: Juno - http://download.eclipse.org/releases/juno
Category: Web, XML, ...
JST Server Adapters
JST Server Adapters Extensions
JST Server UI
WST Server Adapters
Restart Eclipse
Help > Install New Software...
Work with: Google Plugin for Eclipse - https://dl.google.com/eclipse/plugin/4.2
Google App Engine Tools for Android
Google Plugin for Eclipse 4.2
Contact all update sites - enabled!
Restart Eclipse
Google is your friend. Make sure you use the right version of Eclipse, and you may have to run Eclipse as root when installing.
The issue is that the versions of Eclipse that ship with Linux distributions are usually very generic in their configuration. It is unlikely that you will find the right package through your package manager, you want to use Eclipse's mechanism.
Downloading SDK tools and Installing the ADT bundle posed a problem for me on Windows and Linux.
After trying it in every way possible on both OS's even with my college lecturer with me for the Windows install, we couldn't get it working.
Both times the only way I got it working was by installing the Android ADT Bundle that includes Eclipse & SDK tools & ADT Plugin all in one.
apt-get remove eclipse-jdt and just download the bundle, it just works. :)
It's not from a repo but it works.
http://developer.android.com/sdk/index.html

Android Plugin for Eclipse problem

I am using a laptop with Windows 7 Home Prem x64. I have installed Java JDK1.6.0_18 and Eclipse Gallileo. I have downloaded and installed the latest version of Android SDK with several Platforms loaded and a AVD defined. I can install the Android Eclipse plugin from the remote site stated in the instructions. The plugin installation performs without any errors and I can verify that the plugins are indeed installed. My problem begins when I go to Windows -> Preferences, there is no Android section to configure. And when I go to File -> New -> Project, there is no Android Project to choose.
I have uninstalled the plugin and reinstalled at least 10 times, trying different things and still no luck. I originally had the 64 bit version of the JDK installed, but removed it and installed the 32 bit version.
Has anyone heard of this type of problem? Is it because I am using Windows 7?
Thanks for any help.
tbneff
Have you tried doing the following and have it manually install from there:
Help -> Software Updates -> Add site -> http://dl-ssl.google.com/android/eclipse
I didn't see it on the website regarding if the ADT or the SDK is not compatible with Windows 7.
When you said you installed the 32-bit version, did you get it working or not at all?
maybe you have space in your Eclipse or Android SDK path? do not use spaces in path. I had similar problems and that's because spaces.
I encountered the same problem on my Mac, and found out what my problem was. When I was futzing around with stuff I had renamed the config.ini file in the eclipse/configuration folder. When I renamed it back to config.ini and restarted eclipse everything Android was back in the menus for me.

Categories

Resources