Android is a very popular linux based operating system, specially designed to work on touch screen based mobile phones and tablets. We have already seen a flood of smartphones running Android OS (apart from iOS and Windows Based Phones). Infact every other person is having an Android mobile phone. It is an open source software and anyone can download the development kit (modify it or create apps for it).
What is also becoming popular is running Android operating system on your computer (Windows or Mac or Linux). This tutorial discusses how you can install the Android SDK (Software development Kit) on your computer. This is in accordance with the official guide of getting the Android Kit on your PC. The aim of Android SDK on PC is to allow you develop code, make modifications or create apps for Android OS, however that said one clear benefit is you will get Android Emulator on your PC. Emulator is just a virtual environment (in this case Android Virtual Environment is created on Windows/Mac/Linux)
- Get the feel of Android on Computer
- Run Android Application (any app) on your PC
- Even if the latest Android (as of now Jelly Bean) is not available for your mobile, but still you can download and install it on your computer. You get to experience the latest android on computer.
- Play Android Games on your PC
- Other Android Emulators: YouWave, BlueStacks
- The installation procedure requires that you have a Google Account. If not, please go ahead and create a free Google Account
- Operating System : Windows XP/Vista/7, Mac OS X 10.5.8 or later (x86 only), Linux (tested on Ubuntu Linux, Lucid Lynx)
- Java : JDK 6 (JRE alone is not sufficient)
Suggested Read: List of Android Emulators on PC
Step1 : Getting ADT Bundle
You actually need to download the Android SDK to your computer and the Eclipse IDE. The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android. This process used to be quite complex and time consuming, so Google has created a bundle package which simplifies the stuff. Just download the Android Development Tools (ADT Bundle). It contains
- Eclipse + ADT plugin
- Android SDK Tools
- Android Platform-tools
- The latest Android platform
- The latest Android system image for the emulator
Not non tech people, go ahead just download this, here you will asked to agree to terms and conditions. Select your machine type and download the bundle.
Knowing Machine Type: Right Click on my computers and select “Properties”. As seen in the image below (Windows 7), the operating system type is written.
Step2: Install the Bundle
- Unpack the ZIP file and save it to an appropriate location. May be create a “Development” directory at desktop. Bundle Name
- Open the directory and launch eclipse
Step3: Install SDK Manager
- Launch Eclipse as in the above step.
- select Window > Android SDK Manager.
- On Windows, double-click the SDK Manager.exe file at the root of the Android SDK directory.
- On Mac or Linux, open a terminal and navigate to the tools/
directory in the Android SDK, then execute android sdk
- Select the latest packages and click install.
- Accept everything it asks for.
Step4: Creating Android Virtual Device
Once installed Click on “Tools” Option, and select “Manage AVDs”.
– A new window will pop up. On the right hand side (as explained in image), click “New“. AVD is simply Android Virtual Drive (or android emulator drive on computer).
– In the target option, select the OS package which you have just download. In this case “Android 4.1“, select installer package size as “512“. Click “Create AVD“. Accept everything (ok) in the pop up window.
Step5: Launch Android Emulator
- To launch the emulator on your PC, simply select the AVD manager and select the AVD which was created in last step.
- Click Start
- Android OS will start on your PC. This is more like an android mobile on your PC with screen and keyboard.
As it is a simple mobile accessible your PC, managing this mobile is like actually using your phone. There is menu button, settings and app market as well. Just visit the Google Play store and install the applications on this Android emulator.
Android on Ubuntu (Linux)
Getting android on ubuntu may not be as straight forward as on windows. The above steps are same for all types of PC, however the initial setup (requirements) is different. We recommend reading this tutorial and following it correctly (till “Prepare your development environment”), after that follow this tutorial.