Android Installation - Step by Step guide

Thought Coders make Android Studio Installation easier!

Mobile Devices are portable and this makes mobile devices so popular and exponentially growing therefore, businesses also adopting mobile platforms for their application. Above all android is one of the popular and economical platforms for Mobile Applications. Android Studio is based on JetBrain’s Intellij Idea. This tutorial helps you to install Android Studio on your machine.

Android Studio is used for the following reasons:

Check here

  • It has an amazing Visual Layout Editor therefore, you can quickly build layouts. Above all, it makes it easier to edit XML layout file
  • Importantly it supports Gradle for dependency management between processes and systems. Secondly, it provides full support of visual design editor
  • Fast and Smoothest Emulator
  • APK analyzer, provides detailed reports of installed apps, therefore, making it easier to choose the best one
  • Similarly, it provides Testing tools and Framework (Espresso)
  • In other words, it is a Smart Code Editor (which support various languages, for instance, Kotlin, Java, and C++) moreover NDK support
  • Lastly, it is easy to integrate with firebase, GCP, Google Cloud Messaging, etc. 

Prerequisite

Java should be installed. After that, refer below for Java installation

How to check Java Installation

Open command prompt and type java –version

After that, 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
Command to check Java installation – java -version

(In addition, if Java is not installed then refer step by step guide for Java Installation)

Step by Step guide to install Android Studio

Step i

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

https://developer.android.com/studio

android studio installer

Step ii

Once the Android Studio download is complete click on the setup file (android-studio-2020.3.1.25-windows.exe) and follow the installation setup wizard till the installation is complete.

android studio setup

Click on the Next button and Select Android Studio Components

android studio components

Choose Configuration Settings:

Give Android Studio installation directory

configuration settings

Once after selecting the installation directory, Android Studio Installation start

android installation

Click on the Finish Button therefore, your installation will be completed.

completing android studio setup

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
installation directory
Path variable set up for SDK Tools
Path variable set up for UI Automator

Step iv:

Now, open Android Studio and configure the SDK in Android studio

Step v:

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

C:\Users\user\AppData\Local\Android\Sdk\emulator

emulator



Step vi:

Click on the Radio button ‘Accept’ and then Next

Android Studio License Agreement Checkbox
Android Studio License Agreement Checkbox

Step vii:

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

avd manager

Now click on Create Virtual Device

virtual device

And choose preferred emulator for testing:

Step viii:

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 the download is complete. Once the download is complete then click on Next and complete the setup.

Android SDK Installation
Android SDK Installation

Step ix:

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

Android SDK Setup
Android SDK Setup

Step x:

Give a name to your virtual AVD

AVD Setup
AVD Setup

Step xi:

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 the Action Launch button.

Android Studio Emulator - Your Virtual Devices
Because you have clicked on the action launch button, Android Studio Emulator – Your Virtual Devices will be displayed

Step xii:

Because you can open Emulator you can see whether it is working or not.

Emulator launched by Android Studio
Emulator launched by Android Studio

Step xiii:

You can launch Emulator by command line as well for this, 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. In conclusion, feel free to contact us and write at info@thoughtcoders.com

Write A Comment