Developing For Android Using Eclipse

Revision as of 14:35, 3 February 2015 by Phil.cs.jhu.edu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: Google now recommends using Android Studio for Android development. All of the CS lab machines have Android Studio installed. The instructions below are for anyone who still wants to use Eclipse.

On a CS Linux machine (Grad or Ugrad Net), do the following:

  1. Open Eclipse and choose a directory to be your workspace.
  2. Click Help->Install New Software
  3. Click Add... and enter:
    • Name: Android
    • 'Location: https://dl-ssl.google.com/android/eclipse/
  4. Click Add... again and enter:
    • Name: Eclipse
    • 'Location: http://download.eclipse.org/releases/galileo/
  5. Make sure Android is selected in the "Work with:" drop down next to the Add... button
  6. Select the checkbox next to "Developer Tools"
  7. Click Next
  8. Click Next again
  9. Accept the agreement and then click Finish
  10. If you get a security warning, click OK
  11. After the install, Eclipse will ask you to restart. Choose "Yes"
  12. Now click Window->Preferences
  13. Select the Android
  14. Uncheck "Send usage statistics to Google" and click OK
  15. Click "Browse" next to SDK Location
  16. Browse to "/usr/local/android" and select OK
  17. Click "Apply" and then "OK"

Everything should now be set up for Android development.