Saturday, June 12, 2010

Install Android SDK Eclipse plugin on Ubuntu 10.04

Started to work on developing some Android applications on my Ubuntu 10.04 (Lucid) machine and ran into a few complications during installation of the Eclipse plugin. Started getting a dependency for "org.eclipse.gef" when trying to follow Google's instructions.

Here is how I did it:
- Ensure Eclipse is installed (sudo apt-get install eclipse)
- Run Eclipse
- Select "Help" -> "Install New Software..."
>>>Repeat the following for the list of repositories<<
- Select "Add"
- Enter the Name and Location of the following
Name: Android Plugin
Location: https://dl-ssl.google.com/android/eclipse/
>>
Name: Data Tools
Location: http://download.eclipse.org/datatools/updates
>>
Name: Web Tools
Location: http://download.eclipse.org/webtools/updates/
>>
Name: EMF
Location: http://download.eclipse.org/modeling/emf/updates/releases/
>>
Name: GEF
Location: http://download.eclipse.org/tools/gef/updates/releases/
>>>
(You should now be in the "Install" Dialog after adding the above)
- Select "Android Plugin" from the "Work With:"
- Check "Developer Tools"
- Select "Next" button and follow to the end

Viola. Hopefully a working Android Plugin for you.

6 comments:

  1. it WORKS! THANKS! :-)

    ReplyDelete
  2. won't work :(

    session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]org.eclipse.pde 3.4.100.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).

    The artifact file for osgi.bundle,org.eclipse.pde,3.4.100.v201002111343 was not found.


    what can i do?

    ReplyDelete
  3. aahhh eclipse-pde package was missing

    ReplyDelete
  4. needed:
    PDE
    http://download.eclipse.org/eclipse/pde/visualization/updates

    ReplyDelete
  5. ( And you need to manually install pde, android doesnt seem to depend on it :S)

    ReplyDelete
  6. hey while adding plug ins it is showing error

    ReplyDelete