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

Revision as of 14:56, 2 February 2011

On a [CS Linux machine (Grad or Ugrad Net) http://www.cs.jhu.edu/support/wiki/index.php/Category:Linux_Clients]

Open Eclipse and choose a directory to be your workspace.

Click Help->Install New Software

Click Add... and enter:

         Name: Android
         Location:  https://dl-ssl.google.com/android/eclipse/

Click Add... again and enter:

         Name: Eclipse
         Location:  http://download.eclipse.org/releases/galileo/

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 set up for Android development