Paramclasses Academy - Blog

Tutorials Details

←
Post 7 of 39
→

How to Install Android Studio and Configure an Android Emulator ?

How to Install Android Studio and Configure an Android Emulator ?

November 5, 2026

1. Introduction

Android Studio is the official Integrated Development Environment (IDE) for Android application development.

It provides tools required to develop, test, debug, and run Android applications.

For React Native developers, Android Studio is especially useful because it provides:

  • Android SDK

  • Android SDK Platform Tools

  • Android Emulator

  • Android Virtual Device Manager

  • Logcat for debugging

  • Android build and development tools

In this tutorial, we will install Android Studio, configure the Android SDK, create an Android Virtual Device, and run a React Native Expo application on the emulator.

2. What Is Android Studio?

Android Studio is an IDE developed by Google for Android application development.

It is based on IntelliJ IDEA and includes tools for working with Android projects.

Important features include:

Code Editor: Write and manage application code.

Android SDK Manager: Download and manage Android development tools.

Device Manager: Create and manage virtual Android devices.

Android Emulator: Run Android applications on your computer without requiring a physical phone.

Logcat: View application logs and debug information.

Official website:

https://developer.android.com/studio

3. System Requirements

Before installing Android Studio, check your computer's specifications.

Recommended development setup:

  • 64-bit Windows, macOS, or Linux.

  • At least 8 GB RAM; 16 GB or more is preferable when running an emulator.

  • Sufficient free disk space for Android Studio, SDK packages, and virtual devices.

  • A modern processor with hardware virtualization support.

  • A compatible graphics driver.

The exact requirements depend on the Android Studio version and operating system.

For the latest requirements, visit:

https://developer.android.com/studio/install

4. Download Android Studio

Follow these steps:

  1. Open your web browser.

  2. Visit https://developer.android.com/studio

  3. Select the download option.

  4. Read and accept the license agreement.

  5. Download the installer for your operating system.

Make sure you download Android Studio from the official Android developer website.

5. Install Android Studio on Windows

After downloading the installer:

  1. Open the downloaded installer.

  2. Click Next.

  3. Select Android Studio.

  4. Keep Android Virtual Device selected.

  5. Click Next.

  6. Choose the installation location.

  7. Click Install.

  8. Wait for the installation to complete.

  9. Click Finish.

Launch Android Studio after installation.

The initial setup wizard will appear.

6. Complete the Android Studio Setup Wizard

When Android Studio opens for the first time:

  1. Choose whether to import previous settings.

  2. Select the Standard setup type.

  3. Choose your preferred interface theme.

  4. Review the SDK components to be installed.

  5. Accept the required licenses.

  6. Click Finish.

Android Studio will download the required components.

Depending on your internet speed, this process may take several minutes.

7. Understand the Android SDK

The Android Software Development Kit (SDK) provides the tools and platform libraries required to build and run Android applications.

Important SDK components include:

Android SDK Platform: Contains the Android APIs for a particular Android version.

Android SDK Build-Tools: Provides tools used to build Android applications.

Android SDK Platform-Tools: Includes tools such as ADB.

Android Emulator: Allows developers to run virtual Android devices.

Command-line Tools: Provides command-line utilities for Android development.

8. Configure Android SDK

Open Android Studio.

Navigate to:

Tools → SDK Manager

Depending on the Android Studio version, SDK Manager may also be available through Settings.

In the SDK Platforms tab:

  1. Select an Android SDK platform compatible with your project.

  2. Apply the changes.

  3. Allow the selected packages to download.

In the SDK Tools tab, make sure the required tools are installed:

  • Android SDK Build-Tools

  • Android SDK Platform-Tools

  • Android SDK Command-line Tools

  • Android Emulator

Click Apply and wait for the installation to finish.

Do not install every available SDK version unnecessarily. Use the SDK platform required by your project.

9. Configure Environment Variables on Windows

Environment variables help command-line tools locate the Android SDK.

First, find your Android SDK location.

In Android Studio, open:

Tools → SDK Manager

Look for the Android SDK Location field.

A common Windows location is:

C:\Users\YourUsername\AppData\Local\Android\Sdk

The actual path may be different on your computer.

Open Windows Environment Variables:

  1. Search for Environment Variables in Windows.

  2. Select Edit the system environment variables.

  3. Open Environment Variables.

  4. Under User variables, select New.

Create:

Variable name:

ANDROID_HOME

Variable value:

C:\Users\YourUsername\AppData\Local\Android\Sdk

Replace YourUsername with your actual Windows username.

Now edit the Path variable and add:

%ANDROID_HOME%\platform-tools

You may also add the following if the folder exists and you need the command-line tools directly:

%ANDROID_HOME%\cmdline-tools\latest\bin

Click OK to save the changes.

Close and reopen your terminal.

10. Verify ADB Installation

ADB stands for Android Debug Bridge.

It is a command-line tool that allows your computer to communicate with Android devices and emulators.

Open Command Prompt or PowerShell and execute:

adb version

If ADB is configured correctly, it will display its version information.

If the command is not recognized:

  • Verify the Android SDK location.

  • Check the Path variable.

  • Confirm Platform-Tools is installed.

  • Restart the terminal.

11. Create an Android Virtual Device

An Android Virtual Device (AVD) is a configuration that represents a virtual Android phone or tablet.

To create one:

  1. Open Android Studio.

  2. Navigate to Tools → Device Manager.

  3. Click the Add Device or Create Virtual Device option.

  4. Select Phone.

  5. Choose a device model, such as Pixel.

  6. Click Next.

12. Download an Android System Image

After selecting the device:

  1. Choose an available Android system image.

  2. Select a recommended stable image compatible with your development requirements.

  3. Download it if it is not already installed.

  4. Accept the required license.

  5. Click Next.

  6. Review the virtual device configuration.

  7. Click Finish.

Your Android Virtual Device is now created.

13. Start the Android Emulator

Open Device Manager.

Find the virtual device you created.

Click the Play button beside it.

The Android Emulator will start.

Wait for the virtual Android device to finish booting.

You should now see the Android home screen inside a window on your computer.

You can interact with it using your mouse and keyboard.

14. Test the Emulator Using ADB

Open your terminal and run:

adb devices

A running emulator should appear in the device list.

Example output:

List of devices attached
emulator-5554    device

The emulator identifier may be different on your computer.

If the emulator appears with the status device, ADB can communicate with it.

15. Run Your React Native Expo Project on Android Emulator

Now we will connect Android Studio with our Expo project.

Open your existing Expo project folder in Visual Studio Code.

For example:

cd MyExpoApp

Start the Expo development server:

npx expo start

Make sure the Android Emulator is already running.

In the Expo terminal, press:

a

Expo CLI will attempt to open your application on the Android Emulator.

Wait for the application to load.

You should now see your React Native application running inside the virtual Android device.

Note: This workflow requires a compatible Expo Go installation in the emulator. If the project needs custom native modules or a custom runtime, use an Expo development build instead.

16. Useful Android Emulator Controls

The emulator provides several useful controls:

Power: Turn the virtual device screen on or off.

Volume: Increase or decrease device volume.

Rotate: Change between portrait and landscape orientation.

Screenshot: Capture the emulator screen.

Extended Controls: Configure location, battery, camera, and other virtual device settings.

These features help developers test applications under different conditions.

17. Common Android Studio and Emulator Errors

Error 1: Emulator Is Not Starting

Possible causes:

  • Hardware virtualization is unavailable or disabled.

  • Insufficient RAM.

  • Incorrect emulator configuration.

  • Graphics compatibility issues.

Solutions:

  • Check virtualization support in BIOS/UEFI.

  • Close unnecessary applications.

  • Review Android Emulator system requirements.

  • Try a compatible graphics rendering option.

Error 2: ADB Is Not Recognized

Possible causes:

  • Platform-Tools are not installed.

  • SDK path is incorrect.

  • Environment variables are not configured.

Solution:

Verify the SDK Platform-Tools installation and update the Path variable.

Error 3: Expo Cannot Find the Emulator

Solutions:

  • Start the emulator before running Expo.

  • Check adb devices.

  • Restart the emulator if necessary.

  • Restart the Expo development server.

Error 4: Emulator Runs Slowly

Solutions:

  • Close unnecessary background applications.

  • Allocate suitable memory to the virtual device.

  • Use hardware acceleration when supported.

  • Choose a suitable device profile and system image.

Error 5: Android SDK Component Is Missing

Solution:

Open SDK Manager, install the missing SDK component, and retry the operation.

18. Physical Android Phone vs Android Emulator

A physical Android phone is a real device used to test applications.

An Android Emulator is a virtual Android device running on your computer.

Both are useful during development.

A physical device helps test real hardware behavior, while an emulator allows you to test different screen sizes and Android configurations.

19. Conclusion

In this tutorial, we installed Android Studio and configured the Android development environment.

We learned how to install Android SDK components, configure environment variables, create an Android Virtual Device, start the emulator, and connect it to an Expo React Native project.

Android Studio and the Android Emulator are important tools for testing and debugging React Native applications.

20. Frequently Asked Questions

Q1. Is Android Studio required for React Native development?

No. You can develop and test compatible Expo applications using Expo Go on a physical phone. Android Studio is useful for emulator testing and native Android development.

Q2. What is an Android Emulator?

It is software that simulates an Android device on your computer.

Q3. What is ADB?

ADB stands for Android Debug Bridge. It allows communication between a computer and Android devices or emulators.

Q4. What is Android SDK?

Android SDK is a collection of tools, platform libraries, and utilities required for Android application development.

Q5. Can I run React Native applications without a physical Android phone?

Yes. You can use an Android Emulator to test your application.

Q6. What is an AVD?

AVD stands for Android Virtual Device. It stores the configuration of a virtual Android device.

Q7. Can I use Android Studio with Expo?

Yes. Android Studio provides the Android SDK and emulator tools that can be used with Expo projects.

←
Post 7 of 39
→