Difference between revisions of "Developing For Android Using Eclipse"

(Created page with 'On a CS Linux machine (Grad or Ugrad Net) Open Eclipse and choose a directory to be your workspace. Click Help->Install New Software Click Add... and enter: <pre> N...')
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
On a CS Linux machine (Grad or Ugrad Net)
+
'''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.
  
Open Eclipse and choose a directory to be your workspace.
+
On a [[:Category:Linux_Clients|CS Linux machine (Grad or Ugrad Net)]], do the following:
  
Click Help->Install New Software
+
# Open Eclipse and choose a directory to be your workspace.
 +
# Click ''Help->Install New Software''
 +
# Click ''Add''... and enter:
 +
#* '''Name''': Android
 +
#* '''Location'':  <nowiki>https://dl-ssl.google.com/android/eclipse/</nowiki>
 +
# Click ''Add''... again and enter:
 +
#* '''Name''': Eclipse
 +
#* '''Location'':  <nowiki>http://download.eclipse.org/releases/galileo/</nowiki>
 +
# Make sure ''Android'' is selected in the ''"Work with:"'' drop down next to the Add... button
 +
# Select the checkbox next to ''"Developer Tools"''
 +
# Click ''Next''
 +
# Click ''Next'' again
 +
# Accept the agreement and then click ''Finish''
 +
# If you get a security warning, click ''OK''
 +
# After the install, Eclipse will ask you to restart. Choose ''"Yes"''
 +
# Now click ''Window->Preferences''
 +
# Select the ''Android''
 +
# Uncheck ''"Send usage statistics to Google"'' and click ''OK''
 +
# Click ''"Browse"'' next to SDK Location
 +
# Browse to ''"/usr/local/android"'' and select ''OK''
 +
# Click ''"Apply"'' and then ''"OK"''
  
Click Add... and enter:
+
Everything should now be set up for Android development.
 
 
<pre>
 
        Name: Android
 
        Location:  https://dl-ssl.google.com/android/eclipse/
 
</pre>
 
 
 
Click Add... again and enter:
 
 
 
<pre>
 
        Name: Eclipse
 
        Location:  http://download.eclipse.org/releases/galileo/
 
</pre>
 
 
 
Make sure Android is selected in the "Work with:" drop down next to the Add... button
 
 
 
Select the checkbox next to "Developer Tools"
 
 
 
Click next
 
 
 
Click next again
 
 
 
Accept the agreement and then click finish
 
 
 
If you get a security warning click OK
 
 
 
After the install Eclipse will ask you to restart. Choose "Yes"
 
 
 
Now click Window->Preferences
 
 
 
Select the Android
 
 
 
Uncheck "Send usage statistics to Google" and click OK
 
 
 
Click "Browse" next to SDK Location
 
 
 
Browse to "/usr/local/android" and select OK
 
 
 
Click "Apply" and then "OK"
 
 
 
Everything should now be setup for Android development
 
  
  
 
[[Category:Software]]
 
[[Category:Software]]

Latest revision as of 14:35, 3 February 2015

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.