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.
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.
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 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.
Wait till download is complete. Once download is complete then click on Next and complete the set up.
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.
Step ix: Give name to your virtual AVD
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.
Step xi: Open Emulator and see whether it is working or not.
Step xii: Emulator can be launched by command line as well. Refer below command:
emulator -add emulator-5554
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 email@example.com
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.