Android SDK Setup - Windows

Notes

Please note a few of the images from this section are borrowed from the Mac version of the tutorial. The only major difference in them is the style of title bar, so please do not be alarmed if your screens look slightly different.

Prerequisites

See http://developer.android.com/sdk/requirements.html for detailed information.

  1. Install Java's JDK (Includes JRE) from http://java.sun.com/javase/downloads/index.jsp

  2. Install Eclipse IDE for Java Developers from http://www.eclipse.org/downloads/ (if you already have Eclipse on your machine, make sure it is the latest version: Eclipse 3.6 Helios - as of January 2011)

Installation of SDK

  1. Download and Extract the Android SDK from http://bit.ly/android_win
    (In this example, I extract the SDK to “D:\android-sdk-windows” Please substitute this to wherever you have extracted your SDK)

    Note: You can download and install the packages from Google, but the SDK downloader tool is a little buggy and can cause a few issues, as a result, all packages are prepackaged here. You must still accept their licenses to be used.

    Another Note: You can use the windows installer as well, but you need to make some correction, as explain on the troubleshooting section on the bottom of this page, to use the Java SDK 64bit on a 64bit OS.

Setting up an Android Virtual Device (AVD)

  1. Inside of the android-sdk-windows folder, there is another folder called android, and inside there is a program called “SDK Setup.exe”. Run “SDK Setup.exe”.
    pic1.JPG

  2. Go to Virtual Devices and Click “New”
    pic2.jpg
  3. Specify the Name of the Device, the version of Android it will emulate and then click “Create AVD”
    pic3.jpg

    pic4.jpg
  4. Once you are back in the main window highlight the AVD you created and click “Start...” to test your AVD
    pic5.jpg
  5. Then click "Launch"
    pic6.jpg
  6. Congratulations! You are now emulating an Android phone.
    pic7.jpg
  7. You may now exit the emulator and the SDK Setup.

Note: Windows 7 and Vista Users:

Sometimes Windows thinks that the SDK Setup application is a full on installer, often times, it will ask if the installer completed successfully, in this case, you can select that it did as you will not normally be running this program again.

Setting up Eclipse

  1. Select your workspace.

  2. Select Help, Then click on Install new software.
    pic8.JPG

  3. Click Add
    pic9.JPG

  4. In the name field, Type “Android Plugin”, in the location field, type
    “https://dl-ssl.google.com/android/eclipse/”
    pic10.JPG

  5. Eclipse will then show a pending status as it downloads package information.

  6. Select the check box next to Developer Tools and click next.
    pic11.jpg

  7. Click Next

    mac5.jpg

  8. Accept the Licenses and click finish
    mac6.jpg
  9. Eclipse will download and install the packages.
    pic13.JPG

  10. The ADT Plugin is unsigned, if you receive this message, click OK to continue.
    pic14.JPG

  11. Allow Eclipse to Restart
    pic15.JPG

  12. Select Window, then click on Preferences
    pic16.JPG

  13. Select Android on the left hand side of the tree, on the right, click on browse to find the folder where we extracted the SDK earlier, in this case, “ D:\android-sdk-windows”, then click on OK.
    pic17.JPG

Note: In order to use the SDK you must agree to the Licenses that it comes with, each component has several licenses that need to be accepted to be used and you may be presented with them throughout various stages of the installation. Also, the list of Targets will not appear until after you click OK or apply for the first time.

Troubleshooting

Java SDK 64bit on 64bit Windows OS

You want to use Java SDK 64bit? But Android SDK installer can't find it? There is a simple fix explain at http://stackoverflow.com/questions/4394584/android-sdk-install-problem. Basically you need to manually add some entries to the registry.



Topic attachments
I Attachment Action Size Date Who CommentSorted ascending
JPEGJPG pic10.JPG manage 16.9 K 2010-02-18 - 12:43 UnknownUser  
JPEGjpg pic11.jpg manage 51.7 K 2010-02-18 - 12:43 UnknownUser  
JPEGJPG pic12.JPG manage 40.0 K 2010-02-18 - 12:44 UnknownUser  
JPEGJPG pic13.JPG manage 28.2 K 2010-02-18 - 12:44 UnknownUser  
JPEGJPG pic14.JPG manage 18.9 K 2010-02-18 - 12:44 UnknownUser  
JPEGJPG pic15.JPG manage 18.1 K 2010-02-18 - 12:44 UnknownUser  
JPEGJPG pic16.JPG manage 61.8 K 2010-02-18 - 12:44 UnknownUser  
JPEGJPG pic17.JPG manage 63.0 K 2010-02-18 - 12:45 UnknownUser  
JPEGjpg pic2.jpg manage 37.5 K 2010-02-18 - 12:05 UnknownUser  
JPEGjpg pic3.jpg manage 30.7 K 2010-02-18 - 12:06 UnknownUser  
JPEGjpg pic4.jpg manage 13.2 K 2010-02-18 - 12:07 UnknownUser  
JPEGjpg pic5.jpg manage 39.5 K 2010-02-18 - 12:08 UnknownUser  
JPEGjpg pic6.jpg manage 13.6 K 2010-02-18 - 12:09 UnknownUser  
JPEGjpg pic7.jpg manage 61.5 K 2010-02-18 - 12:09 UnknownUser  
JPEGJPG pic8.JPG manage 58.9 K 2010-02-18 - 12:42 UnknownUser  
JPEGJPG pic9.JPG manage 50.2 K 2010-02-18 - 12:43 UnknownUser  
JPEGJPG pic1.JPG manage 58.2 K 2010-02-18 - 12:03 UnknownUser pic 1 of adroid setup process
Topic revision: r6 - 2011-01-15 - 20:26:32 - Main.acordo2
 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF