Difference between revisions of "Developing For Android Using Eclipse"

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

Revision as of 20:09, 10 October 2013

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