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
- Open browser.
- Visit the official website: https://developer.android.com/studio
- Click Download Android Studio.
Step 2: Install Android Studio
- Run the downloaded .exe file.
- Click Next.
- Select components:
- Android Studio
- Android Virtual Device
- Click Next.
- Select installation location.
- Click Install.
Step 3: Launch Android Studio
- After installation, open Android Studio.
- Select Standard Setup.
- Download required SDK components.
- 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
- Open Android Studio
- Click Tools
- Select Device Manager
Step 2: Create New Virtual Device
- Click Create Device
- Select a device model
Example:
- Pixel 4
- Pixel 5
- Nexus 5
- Click Next
Step 3: Select Android Version
- Choose Android system image
Example:
- Android 11
- Android 12
- Android 13
- Click Download if not installed.
- Click Next.
Step 4: Configure Virtual Device
- Give device name
- Adjust RAM and storage if needed
- Click Finish
Your Android Virtual Device is now created.