«

»

Jan 02

Print this Post

Android: Installing the SDK

Before getting started, you first need to download and install the Android SDK. But first, if you meet the requirements. In order to use the Android SDK, you need to have JDK 5 or JDK 6 installed on your system (JRE alone won’t do it!). Next you’ll need an IDE (it’s optional, but makes developing much much easier than writing all your code in a simple text editor). I suggest using Eclipse 3.4 together with the Android Development Tools for Eclipse.

Installing the SDK

The current version of the Android SDK (1.0r2) can be found on the Android Download page on Google Code. The installation is pretty straightforward, simply unpack the file in a directory of your choice (i.e. D:\SDKs\android-sdk-1.0_r2). If you’re upgrading from a previous version of the SDK, you may want to check the 0.9->1.0 changes before getting started.

Installing the Android Development Tools for Eclipse

If you’re using Eclipse as your IDE, you can also install the Android Development Tools which will help you further in developing your Android Applications, i.e. extending it by an editor for the code and layout etc.
Eclipse 3.3 (Europa)
  1. In Eclipse select Help -> Software Updates -> Find and Install…
  2. In the dialog, select Search for new features to install and click Next
  3. Click on New Remote Site
  4. Enter the follow URL https://dl-ssl.google.com/android/eclipse/ Click OK
  5. The site should be added and checked. If so, click Finish
  6. In the Search Result dialog box check Android Plugin -> Developer Tools. If you choose to install the Android Editor (which is recommended), you have to make sure you have WST plugin installed (which should be pre-installed in most Eclipse IDE’s)
  7. Read and accept the license and press Next
  8. Click Finish
  9. The ADT plugin is not signed, you can accept it anyway by clicking Install All
  10. Restart Eclipse
Eclipse 3.4 (Ganymede)
  1. In Eclipse select Help -> Software Updates -> Find and Install…
  2. Select the Available Software tab
  3. Click Add Site…
  4. Enter the follow URL https://dl-ssl.google.com/android/eclipse/ Click OK
  5. Back at Available Software check Developer Tools and click Install…
  6. If you choose to install the Android Editor (which is recommended), you have to make sure you have WST plugin installed (which should be pre-installed in most Eclipse IDE’s)
  7. Click Finish
  8. Restart Eclipse
After the restart, it’s necessary to update your Eclipse Preferences to point to the Android SDK folder.
  1. Select Window -> Preferences… to open the Preferences panel (on Mac OS Eclipse -> Preferences)
  2. Select Android from the left panel
  3. Click on Browse and locate the SDK directory
  4. Click Apply and then click OK

Permanent link to this article: http://tseng-blog.nge-web.net/blog/2009/01/02/android-installing-the-sdk/

3 comments

  1. SonyaSunny

    Hi there,
    Everything dynamic and very positively! :)

    Have a nice day
    SonyaSunny

  2. Robor

    Hi there,
    Not sure that this is true:), but thanks for a post.

    Thanks
    Robor

  3. chair mats

    Have you given any kind of consideration at all with converting your main web page into Chinese? I know a couple of of translaters here that would help you do it for no cost if you wanna make contact with me.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>