How to install and configure Android Emulator

The Android operating system has a free emulator as a part of the development kit.

This emulator can be installed on any Windows computer and will allow you to operate a virtual phone for support and testing.

It may also be useful for testing how applications and websites work with each version of the Android OS.

Applies to Android based phones, i.e. HTC phones.

AndroidEmulator

The following steps detail how to install the emulator.

  1. Download the latest Android SDK for Windows from http://developer.android.com/sdk/index.html
  2. Save the ZIP file to a convenient location and extract the contents
  3. Open the ‘SDK Manager’ application
  4. It will now attempt to access the Internet. If it fails to connect you will need to specify the proxy server in the ‘Settings’ tab
  5. Select the ‘Available Packages’ tab and then click ‘Refresh’
  6. Place a tick at the top of the list, this will select all available packages.
  7. Press the ‘Install Selected’
  8. Select ‘Accept All’ and then ‘Install’
  9. The packages will start downloading and may take up to 10 minutes to complete.
  10. Once finished, click on the ‘Close’ button
  11. Select the ‘Virtual Devices’ menu
  12. Click on the ‘New’ button
  13. Enter in the following information then click on the ‘Create AVD’button
    1. a.Name:                  HTC_Wildfire_Phone
    2. b.Target:                  Android 2.1 –update1 – API Level 7
    3. c.SD Card Size:      1024
  14. Click ‘OK’
  15. Select the virtual phone. Click ‘Start’ button
  16. Select the ‘Wipe user data’ option
  17. Click on ‘Launch’ to start the phone –this may take a few seconds

If the virtual device can not access the Internet:

  1. Once the Android emulator is fully loaded, click on the ‘Menu’ button and then ‘Settings’ on the virtual screen
  2. Select ‘Wireless & networks’
  3. Check the ‘Airplane mode’ is not enabled
  4. Scroll to the bottom and select ‘Mobile Networks’
  5. Select ‘Access Point Names’
  6. Select ‘TelKila’
  7. Select ‘Proxy’ and enter your proxy server address
  8. Click ‘OK’
  9. Select ‘Port’ and enter the port your proxy server uses (e.g. 8080)
  10. Click ‘OK’
  11. Click on the ‘Home’ button to return to the home menu.
  12. You now have a functional virtual Android 2.1 phone