Subject Details

Programme: Computer Engineering / Information Technology / AI / AIML / Data Science
Semester: 6th
Subject: Mobile Application Development
Course Code: 316006

Introduction

Android application development requires a proper development environment where developers can write code, design user interfaces, and test applications. The most commonly used Android IDE (Integrated Development Environment) is Android Studio, which is officially provided by Google.

In this tutorial, we will learn how to install Android Studio and create an Android Virtual Device (AVD) to run Android applications on a computer.

Steps to Install Android Studio

Step 1: Download Android Studio

  1. Open browser.
  2. Visit the official website: https://developer.android.com/studio
  1. Click Download Android Studio.

Step 2: Install Android Studio

  1. Run the downloaded .exe file.
  2. Click Next.
  3. Select components:
    • Android Studio
    • Android Virtual Device
  4. Click Next.
  5. Select installation location.
  6. Click Install.

Step 3: Launch Android Studio

  1. After installation, open Android Studio.
  2. Select Standard Setup.
  3. Download required SDK components.
  4. Click Finish.

Now your Android IDE is successfully installed.

What is Android Virtual Device (AVD)?

An Android Virtual Device (AVD) is an emulator that simulates an Android device on your computer.

It allows developers to run and test Android applications without a physical mobile device.

Advantages of AVD

  • Test apps without real phone
  • Simulate different screen sizes
  • Test different Android versions
  • Debug applications easily

Steps to Create Android Virtual Device

Step 1: Open Device Manager

  1. Open Android Studio
  2. Click Tools
  3. Select Device Manager

Step 2: Create New Virtual Device

  1. Click Create Device
  2. Select a device model

Example:

  • Pixel 4
  • Pixel 5
  • Nexus 5
  1. Click Next

Step 3: Select Android Version

  1. Choose Android system image

Example:

  • Android 11
  • Android 12
  • Android 13
  1. Click Download if not installed.
  2. Click Next.

Step 4: Configure Virtual Device

  1. Give device name
  2. Adjust RAM and storage if needed
  3. Click Finish

Your Android Virtual Device is now created.