Android Studio step by step guide to Installation and Setup

How to install Android Studio and set up on Windows Machine

Mobile Devices are portable and this makes mobile devices so popular and exponentially growing because of this, businesses also adopting mobile platforms for their application. Android is the one of popular and economical platforms for Mobile Applications. Android developed by Google and Android Studio is IDE for Android Application Development and debugging.

Android Studio is based on JetBrain’s Intellij Idea. Android Studio is used for the following reasons:

  • It has an amazing Visual Layout Editor
  • Support Gradle for dependency management
  • Fast Emulator
  • APK analyzer
  • Provides Testing tools and Framework (Espresso)
  • Smart Code Editor (which support Kotlin, Java, and C++) and NDK support
  • Easy to integrate with firebase, GCP, Google Cloud Messaging, etc.

Prerequisite: Java should be installed. Refer below for Java installation

How to check Java Installation: Open command prompt and type java –version

It will show the installed Java version else you need to install it.

Command to check Java installation - java -version
Command to check Java installation – java -version

Java (if not installed then refer step by step guide for Java Installation)

Step by Step guide to install Android Studio

Step i: Refer to below link and download the Android Studio installer( .exe file)

Step ii: Once Android Studio downloads is complete then click on the set up file (android-studio-2020.3.1.25-windows.exe), follow the installation set up wizard till installation completion.

Click on Next button and Select Android Studio Components

Choose Configuration Settings: Give Android Studio installation directory

Once after selecting the installation directory, Android Studio Installation start

After complete installation, click on Finish button to complete installation.

Step iii: Set environment variables:

Android_Home Environmental variables path to SDK Location should be set and include bin folder path in Path variable.

Android Studio Installation Directory
Android Studio Installation Directory
Environment variable set up for ANDROID HOME
Environment variable set up for ANDROID HOME
Path variable set up for SDK Tools
Path variable set up for UI Automator

Step iii: Now, open Android Studio and configure the SDK in Android studio

Step iv: Once SDK is set up launch Android Studio and accept the license agreement.


Step v: Click on the Radio button ‘Accept’ and then Next
Android Studio License Agreement Checkbox
Android Studio License Agreement Checkbox

Step vi: Launch AVD Manager (Virtual Device): With help of AVD Manager, we can create a virtual emulator as per desired specifications.

Now click on Create Virtual Device

Choose preferred emulator for testing:

Step vii: Choose Hardware: Once AVD Manager launches the Select Hardware window will pop up. You may choose desired Hardware from this window.

Virtual Device setup
Virtual Device setup

Wait till download is complete. Once download is complete then click on Next and complete the set up.

Android SDK Installation
Android SDK Installation

Step viii: Choose Android Operating System Version: Once after completion of SDK installation and a new window will open where you can choose Android Operating System.

Android SDK Setup
Android SDK Setup

Step ix: Give name to your virtual AVD

AVD Setup
AVD Setup

Step x: Launch emulator now: Go to AVD Manager and you will find the virtual devices which are set up in previous steps. You can click on Action Launch button.

Android Studio Emulator - Your Virtual Devices
Android Studio Emulator – Your Virtual Devices

Step xi:  Open Emulator and see whether it is working or not.

Emulator launched by Android Studio
Emulator launched by Android Studio

Step xii: Emulator can be launched by command line as well. Refer below command:

emulator -add emulator-5554

Command to launch AVD Manager
Command to launch AVD Manager

Hope this article helps you in Android Studio Installation, environment variable set up, and launch from the command line. Feel free to reach out to us on +919555902032 or write at

To learn more about testing, automation tools (Cypress, Selenium, RestAssured, etc), and QA tools explore ThoughtCoders blogs section. You may also Contact Us for QA Services, QA Automation, Software Testing, Performance Testing, Interview, and Job Support Software Training, Automation Testing Trainings, and technical consolations.

0 0 vote
Article Rating

Subscribe to our Newsletter:

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
Open chat
Feel free to contact