Setting Up Android Emulators
This post is written based on Linux alone, but you can follow the same process to make it work for you.
1. Open the web browser and visit https://
2. Download the current version of the ADT bundle for 32-bit Linux and
save it to your root directory.
3. Open a terminal, list the files there ( ls ), and extract the compressed
archive that you just downloaded with unzip (the x’s represent the name
of your file, as versions may have changed since this was written).5
[email protected]:~# unzip adt-bundle-Linux-x86-xxxxxxxxxxx.zip
4. Now use cd to go into the new directory (with the same name as the file
without the .zip extension).
# cd sdk/tools
5. The Android SDK Manager should open, as shown in Figure below.
Figure: The Android SDK Manager
We’ll download any updates to the Android SDK tools and Android SDK
platform tools (checked by default), as well as Android 4.3 and a couple of
older versions of Android with specific vulnerabilities, Android 2.2 and
Android 2.1. Select the boxes to the left of each Android version. Then
(leaving Updates/New and Installed checked) click Install packages, as
shown in Figure 1-14. Accept the license agreement, and the Android SDK
should download and install the chosen packages. Installation will likely
take several minutes.
Figure: Installing Android software
Now it’s time to set up our Android virtual devices. Open the Android
SDK Manager and choose Tools4Manage AVDs. You should see the win-
dow shown in Figure 1-15.
Figure: Android Virtual Device Manager
We’ll create three Android emulators based on Android 4.3, 2.2,
and 2.1, as shown in Figure 1-16. Use the values shown in the figure for
each emulator but set the value of Target to the Android version of the
emulator you would like to build (the Google API versions of Android 4.3
[Google APIs version 18], 2.2 [Google APIs version 8], and 2.1 [Google
APIs version 7]). Fill the AVD Name field with a descriptive value. Add a
small SD Card value (100MB should be more than sufficient) so you can
download files to your Android emulators. Set Device to Nexus 4 and Skin
to Skin with dynamic hardware controls. Leave the rest of the options at
Once you’ve built all three emulators, your AVD Manager should look
To start an emulator, highlight it and click Start. Then click Launch in
It may take a few minutes for the emulator to boot up for the first time,
but once it does, you should have something that looks and feels much like
a real Android device.