Setting up your Android Native App Test Environment

For most of the testing tools I will be presenting on this blog, you will need to install and set up both the Eclipse IDE and Android SDK.

Here are the steps (screenshots to follow soon):

  1. Download the Eclipse IDE from
  2. Create a new workspace for your trials – better not to mess up existing projects 🙂
  3. If you don’t already have the Android SDK, you should download and install it – see
  4. The Android SDK comes pretty “bare-bones” so you need to install the various API versions or 3rd party add-ons eg. add-ons for Samsung devices (eg. Galaxy S) – see
  5. Install the ADT (Android Developer Tools) plugin for Eclipse. See
  6. You will need to create a few AVDs (Android Virtual Devices) by doing the following: go to Window->Android SDK and AVD Manager; Click on “New”; Choose a name, target (eg. API level 10), SD card size (eg. 100Mb). See for more info on AVD options.
I also recommend installing the Sample code from the SDK. To do so, you need to do the following:
  1. Open up the Android SDK and AVD Manager either from Eclipse (Window->Android SDK and AVD Manager) or running “./android” in AndroidSDK/tools
  2. Select “Available Packages” and select “Android Repository”
  3. Select Samples for SDK API XX. Select the appropriate one for your SDK installation.
To test that the Android SDK is working correctly, install and run a sample app:
  1. Add the NotePad sample app to your workspace ie. File->New->Project->Android Project then click on “Next”
  2. Select “Create project from existing source” and select the location of NotePad under AndroidSDK/samples/android-XX.
  3. Test out the app by Selecting the NotePad project->Right click->Run As->Android Application
You should see the Android emulator start up and load the app.

Leave a comment

Filed under Android, Native App, QA, Testing

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s