Professional Documents
Culture Documents
How to prepare
system
For Android SDK Emulator
(Android 3.1 for Windows 7 OS)
Part-1
Step by Step Tutorial
By:
IMBUENT TECHNOLOGIES PVT. LTD.
LUDHIANA, PUNJAB (INDIA)
www.imbuent.com
www.embeddedcraft.org
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Introduction:
Android is a software stack for mobile devices that includes an operating system, middleware and
key applications.[7][8] Google Inc. purchased the initial developer of the software, Android Inc., in
2005.[9] Android's mobile operating system is based on the Linux kernel. Google and other
members of the Open Handset Alliance collaborated on Android's development and release.[10][11]
The Android Open Source Project (AOSP) is tasked with the maintenance and further development
of Android.[12] The Android operating system is the world's best-selling Smartphone
platform.[13][14]
Android has a large community of developers writing applications ("apps") that extend the
functionality of the devices. There are currently over 200,000 apps available for Android.[15][16]
Android Market is the online app store run by Google, though apps can also be downloaded from
third-party sites. Developers write primarily in the Java language, controlling the device via
Google-developed Java libraries.[17]
Source: http://en.wikipedia.org/wiki/Android_(operating_system)
http://developer.android.com/sdk
QEMU is a generic and open source machine emulator and virtualizer. When used as a machine
emulator, QEMU can run OSes and programs made for one machine (e.g. an ARM board) on a
different machine (e.g. your own PC). By using dynamic translation, it achieves very good
performance. When used as a virtualizer, QEMU achieves near native performances by executing
the guest code directly on the host CPU. QEMU supports virtualization when executing under the
Xen hypervisor or using the KVM kernel module in Linux. When using KVM, QEMU can
virtualize x86, server and embedded PowerPC, and S390 guests.
Source: http://wiki.qemu.org/Main_Page
Windows 7 OS:
Here I am using Windows 7 OS But you can use this tutorial for Windows XP as
Well ,there may be minor differences
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Before start working on Android SDK Emulator your system either PC or Laptop Should me fully
prepared with following software.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Ok, At this stages I think you have downloaded all of above. I have saved the in Folder Named
Android Setup.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Step 1: Click of jdk setup and Installed that tools by Click Next Next (Set Path) Next.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Note: Please check the version and path at your system for Java Jdk.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Step 6: Now Go to Start >> Run >> Type “cmd” for command prompt.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Step 7: Type javac and hit enter in command prompt you must see following command as per
below window then only JDK is perfectly installed.
Step 2: Click Next Next (Set Path) Next then finish for installation.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
Step 5: If no package is installed then it will ask to choose packages, If not so then Click on
Available package and chose the latest one as below:
Step 6: Like I have selected Android 3.1 and Android 3.0 and also sample code for that
Step 7: Click on Accept the install. . Here you can take refreshment or go to sleep if your internet is
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
so slow.
Caution: Most of People (Even I) have found problems while download. Sometimes
downloading may halt in between. So, What to do, Go to Control Panel -> Uninstalled Android
and Start from Step 1 (For Android SDK.)
Step 8: At Step 4. You see Installed packages folder is empty. But now you can SDK Platform 3.1
is installed.
www.embeddedcraft.org
EMBEDDED SYSTEM TRAINING
8051/PIC/ARM/Embedded Linux/Embedded Android
IMBUENT TECHNOLOGIES PVT. LTD., LUDHIANA, PUNJAB, INDIA
-----------In next part you will see how to Setup Eclipse that can work with Android.-----------------
www.embeddedcraft.org