Chris Hager
Programming, Technology & More

How to Setup Android 2.3 (Gingerbread) in Eclipse, including the Galaxy Tab SDK

Today Android version 2.3 (Gingerbread, API Level 9) was released, including an updated Android plugin for Eclipse and the API Level 9 SDK.

The release includes some very welcome updates for both users and developers, including better text selection tools, access to more sensor data, improved garbage collection, updated video drivers for better OpenGL performance, a new media framework including VP8 video compression, WebM video container format, AAC audio encoding and AMR wideband encoding. Furthermore Android now natively supports SIP (Session Initiation Protocol) and NFC (Near Field Communication). For a complete list of updates have a look at the following pages:

Everyone new to Android can simply follow the standard Android SDK installation procedure. Those of us who already have an Android SDK running need to perform the following steps:

  1. Update the Android plugin for Eclipse
  2. Install the new SDK (SDK for API Level 9 – Android 2.3, Gingerbread)
  3. Create a new emulator with Android 2.3

Step 1: Update the Android plugin for Eclipse

Step 2: Install the new SDK

Android API Level 9 including docs and samples should be installed and ready to go, after a restart of Eclipse. For some reason it might stop the installation after the Galaxy Tab SDK setup without having installed the new Android SDK — in that case start again with step 2 and install what is still available there.

Step 3: Setting up a new emulator

In the “Android SDK and AVD Manager” window, click on “New”, and select your preferred settings:

That’s it!

Tags: Android