Android Tutorial : Install Android on Windows

In previous android tutorial, we learned common terms used in android development and some concepts which will keep you helping when you will be developing any android app. In my future tutorials, I will be discussing concepts for which you will need a development setup for android applications. So, before jumping onto actual development/android concepts, let’s first prepare the the development machine. I am listing out the required steps in sequence. Following all steps as given, you should also be able to prepare the environment and get started with actual android app development.

Table of Contents

1) Download ADT Bundle
2) Add SDK Packages
3) Configure Virtual Devices
4) Test your development environment

1) Download ADT Bundle

I am following the shortest root for configuring the android development environment for your machine. You just need to download the ADT (Android Developer Toolkit) and start using it. No need to configure the IDE, or environment variables or anything. Just download and start developing.
Only thing to check before downloading is that verify your machine is 32 bit or 64 bit. For bother versions of machine, there is separate ADT downloads.

After downloading the zip file from any of above location, extract it any folder in your computer. Please make sure you do not move any file in distributed ADT from it’s original location. It may destroy the dev environment. Just copy, extract and develop apps.

This ADT bundle comes with Android SDK, eclipse IDE and a shortcut for SDK Manager which you will use for updating/importing new features into development environment.

2) Add SDK Packages

After you have extracted the ADT to some location in your computer, click of “SDK Manager.exe“. Now choose the desired set of packages you would like to install in your machine. Accept all the terms and conditions; and click OK. It will download all required packages in your machine and configure it automatically. You can start using them once, set up is complete.

In my machine, imported packages are as below (as of date):

SDK-Manager-Preview
SDK-Manager-Preview

Apart from above packages, you should also download ‘Android Support Repository’ and ‘Android Support Library’ from ‘Extra’ options which is hidden under scroll in above image.

3) Configure Virtual Devices

Whether you develop a test app or production class app. you need a device to test it first, right? AVD manager will help you in doing this and creating some virtual devices you testing the apps.

  • Click On AVD Manager
Configure Android Virtual Device Icon
Configure Android Virtual Device Icon
  • Create New Virtual Device
Configure Android Virtual Device Create Button
Configure Android Virtual Device Create Button
  • Fill AVD Details
Configure Android Virtual Device - Create Options
Configure Android Virtual Device – Create Options
  • Click Finish
Configure Android Virtual Device - AVD Created
Configure Android Virtual Device – AVD Created

4) Test your development environment

What could be a better way to test the environment than actually create and run an app in it. Follow the below listed screen shots for creating the app and deploying in AVD we created in 3rd step.

  • Create New Android Project
Create Android Project - Android Application Project File Option
Create Android Project – Android Application Project File Option
  • Wizard Option 1 : Fill Project Details
Create Android Project - New Project Wizard - Step 1
Create Android Project – New Project Wizard – Step 1
  • Select Project Configuration
Create Android Project - New Project Wizard - Step 2
Create Android Project – New Project Wizard – Step 2
  • Select Icons
Create Android Project - New Project Wizard - Step 3
Create Android Project – New Project Wizard – Step 3
  • Choose Activity
Create Android Project - New Project Wizard - Step 4
Create Android Project – New Project Wizard – Step 4
  • Fill Extra Details and Finish
Create Android Project - New Project Wizard - Finish
Create Android Project – New Project Wizard – Finish

 

  • Run the app as Android Application
Run As - Android Application
Run As – Android Application
  • See the app running in Emulator
Application-Running
Application-Running

That’s it. Your android development environment is ready and you are also ready to make dirty your hands with some app development stuff. Start exploring, I will be posting the new stuffs soon.

Happy Learning !!

Was this post helpful?

Join 7000+ Fellow Programmers

Subscribe to get new post notifications, industry updates, best practices, and much more. Directly into your inbox, for free.

5 thoughts on “Android Tutorial : Install Android on Windows”

  1. Do i need to install any specific package to resolve this error while creating AVD Device?
    Error: “No CPU/ABI system image available for this target”

    Reply
    • Have you downloaded any system image (name start with Intel x86) for any API? If NO, then you need to download them first. I will suggest to download everything, including image, under API 19.

      Reply

Leave a Comment

HowToDoInJava

A blog about Java and its related technologies, the best practices, algorithms, interview questions, scripting languages, and Python.