setting up the android sdk

21
1) Download Android SDK http://developer.android.com/sdk/index.html 2) Once you click the ‘Download’ button, installer_r20.0.3-windows.exe file will begin to download 3) Run the executable you just downloaded

Upload: matthew-terndrup

Post on 27-Oct-2014

57 views

Category:

Documents


1 download

DESCRIPTION

This is a step-by-step guide on how to download, install, and configure the Android SDK. This tutorial will also be available on at the LESS Dev Center soon.

TRANSCRIPT

Page 1: Setting up the Android SDK

1) Download Android SDKhttp://developer.android.com/sdk/index.html

2) Once you click the ‘Download’ button, installer_r20.0.3-windows.exe file will begin to download

3) Run the executable you just downloaded**Note – you may need to authorize the installation as an Administrator

Page 2: Setting up the Android SDK

4) The installation wizard will pop-up. Read the information and click ‘Next’

5) The wizard will check to see if you have the Java JDK installed yet. If not, you will get this error:

Page 3: Setting up the Android SDK

a. You can download the JDK here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

b. Run the JDK executable - If you get this error, it means you need to download the Windows x86 file rather than

the x64 one

c. The JDK installation wizard will pop-up. Click ‘Next’

Page 4: Setting up the Android SDK

d. Choose the features you would like to install. We suggest them all.

e. Pick your directory

Page 5: Setting up the Android SDK

f. You have successfully installed the Java JDK!

6) If you have the Java JDK set up, you will get the following message:

Page 6: Setting up the Android SDK

7) Click ‘Next’ and then choose if you want to install the Android SDK for everyone that uses your computer or just yourself

Page 7: Setting up the Android SDK

8) Specify your Install Location

9) Choose what you want to call your Start Menu Folder and click ‘Install’

Page 8: Setting up the Android SDK

**Note – you can opt-out of this by clicking the ‘Do not create shortcuts’ box10) Once the installation is complete, click ‘Next’

11) You have installed the Android SDK!

Page 9: Setting up the Android SDK

12) You now will need to install the ADT plugin for Eclipse. a. Start Eclipseb. Select Help > Install New Software

Page 10: Setting up the Android SDK

c. Click the ‘Add’ button in the top-right corner

d. Choose a Name for the plugin, and enter this into the Location input boxhttps://dl-ssl.google.com/android/eclipse/

Page 11: Setting up the Android SDK

**Note - If you the plugin location isn’t working, try using "http" in the Location URL, instead of "https".

e. Click ‘Ok’. You will now see that a few items have been added to the Available Software section. Check the box next to ‘Developer Tools’ and click ‘Next’

Page 12: Setting up the Android SDK

f. The next window shows the software that will be installed. Click ‘Next’

Page 13: Setting up the Android SDK

g. Accept the License Agreement and then click ‘Finish’

Page 14: Setting up the Android SDK

h. Wait for the software to install

Page 15: Setting up the Android SDK

i. You may get a security warning saying that the software is unsigned. That is alright. Just click ‘Ok’

j. Once complete, restart Eclipse

k. If you get the following error after restarting Eclipse, you will need to install the SDK Platform Tools

- Open up the Android SDK Manager. Select the checkbox next to the Android Platform-tools. Click the Install (x) Packages button

Page 16: Setting up the Android SDK

- Accept the License Agreement and click ‘Install’

13) Time to Configure the ADT plugina. Select Windows > Preferences

Page 17: Setting up the Android SDK

- For MAC OS X users, select Eclipse > Preferences

b. Select the Android option on the left sidebar

Page 18: Setting up the Android SDK

- If the following pop-up comes up, click ‘Proceed’

Page 19: Setting up the Android SDK

c. Locate where you downloaded the Android SDK and click ‘Apply’, then ‘OK’

14) You have successfully download and installed the Android SDK!- For troubleshooting, visit the official Android SDK page:

http://developer.android.com/sdk/installing/installing-adt.html#Troubleshooting