Android Setup Emulator or Create AVD (Android Virtual Device)

  Total Views : 162
  Comments : 0
  Keywords : Create android virtual device (avd) emulator in android studio with examples, Run apps on android virtual device emulator with examples

Here we will learn how to setup android emulator or create AVD (android virtual device) emulator in android studio with examples.

Android Setup Emulator or AVD (Android Virtual Device)

Generally, the android virtual device (AVD) is an emulator which is used to replicate the functionality of an android phone, tablet, android wear or TV to test our android applications locally. By using AVD manager interface in android studio we can setup android virtual device emulator to test our applications.

Create Android Virtual Device

To test our android application we should have an Android Virtual Device (AVD). We can create virtual device by click on AVD Manager like as shown below.

 

Android Setup Emulator - Run android app using avd manager

 

When we click on AVD Manager, new window will open in that click on Create Virtual Device like as shown below.

 

Android Setup Emulator - Create New Virtual Device

 

Now select the required device type and Click Next to create a virtual device like as shown below.

 

Android Setup Emulator - Choose Device to Setup Android Virtual Device

 

Now we need to download and select the system image and click Next like as shown below.

 

Android Setup Emulator - Select System Image to Install AVD

 

Now verify the configuration of android virtual device (AVD) and click Finish like as shown below.

 

Android Setup Emulator - Select Virtual Device Configuration Details

 

This is how we need to add android virtual device (AVD) in android studio to test our android applications.

 

Once we are done with setup of android virtual device in android studio, create sample application in android studio and run the app using AVD manager. In case if you are not aware of creating an app, check this Android Hello World App.

Run Android Application

To run android applications we need to click on Run button or press Shift + F10 like as shown below

 

Android Setup Emulator - Run App using Android Studio

 

After click on play button new window will open in that select Android Virtual Device (AVD) and click OK like as shown below.

 

Android Setup Emulator - Run App by Selecting Virtual Device

 

This is how we can setup android virtual device (AVD) emulator in android studio to replicate the functionality of real android devices. 

 Comments (0)

Be the first to give your valuable feedback

Leave a comment

  • Default Tutlane User