Took me most of a day, but I finally got the SDK working under Karmic.
Here's what I did:

I'm not sure this is necessary, but I installed Sun's JDK 6, and did:

  sudo update-java-alternatives -s java-6-sun

to make sure that everything was pointing to it.  Karmic uses OpenJDK
by
default; it may work, but the Android documentation implies that it is
rather
sensitive about Java implementations, so I haven't tried it.

Download and unpack the SDK.  Add two lines to .bashrc: one to add
the tools directory to the path, and this:

  export GDK_NATIVE_WINDOWS=true

to fix some GUI behavior in the "android" program.  The updater should
now
run and allow you to install the rest of the SDK (platforms, etc.)

If you already installed Eclipse from the GUI software manager, remove
it
using the GUI, drop to a shell and install it manually:

  sudo apt-get install eclipse

This will install the Eclipse platform, as well as eclipse-jdt and
some other
things that the SDK depends on, and which the GUI install does not.

Run Eclipse, go to Help / Install New Software..., and use the "Add"
button
to add the following update sites (name, url below):

  Android:  https://dl-ssl.google.com/android/eclipse/
  DTP:      http://download.eclipse.org/datatools/updates
  GEF:      htp://download.eclipse.org/tools/gef/updates/releases/
  Modeling: http://download.eclipse.org/modeling/emf/updates/releases/
  Webtools: http://download.eclipse.org/webtools/updates/

Now select the Android site from the list, check both add-ons, and
make sure the "contact all update sites to find required software box
below is checked.

ADT should now install.  Restart eclipse, configure the SDK directory
in Eclipse, and all should be well.

Let me know if this works for you.


On Nov 15, 5:29 pm, Leif Andersen <[email protected]> wrote:
> I'm trying to download the andoid SDK following the instructions found
> here:http://developer.android.com/sdk/eclipse-adt.html
>
> However, when I try to download the SDK, I get this error:
> Cannot complete the install because one or more required items could
> not be found.
>   Software being installed: Android Development Tools
> 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group
> 0.9.4.v200910220141-17704)
>   Missing requirement: Android Development Tools
> 0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group
> 0.9.4.v200910220141-17704) requires 'org.eclipse.gef 0.0.0' but it
> could not be found
>
> I get it both when downloading via http, and https.  Can any of you
> help me figure out what is going wrong?  Thank you.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to