Jens Du Four

Connecting you to the cloud, one endpoint at a time

Creating an Android Virtual Devices (AVD)

I am a fond believer of the concept “Seeing is believing”. Does that mean that I will test everything? No, probably not. But I will at least try to! Today the goal is to be creating an Android Virtual Device (AVD).
Further down the road, we will enroll these in Microsoft Intune.

For those of you that don’t know Microsoft Intune yet, it is a cloud-based unified endpoint management solution. Intune provides a central console for monitoring, configuring, and managing mobile devices and applications across multiple platforms, including iOS, Android, Linux, Chrome OS and Windows. It also provides a comprehensive set of tools for managing mobile applications, such as managing the distribution, installation, and usage of apps. All of this helps to improve productivity and reduce costs.

Creating an Android Virtual Device (AVD)

First of all, we will be creating an Android Virtual Device (AVD). AVD is an emulator that is part of the Android Studio. It is a great tool for developers to test their apps on different versions of Android. With AVD different versions of Android and different hardware configurations can be simulated.

However, that is not how we are intending to use it. In this article we will create an Android Virtual Device. This is helpful for those who don’t have access to physical Android devices. The AVD can be used to test out Intune policies and apps.

Creating an Android Virtual Device (AVD)

The process of creating an AVD is fairly straightforward within Android Studio. In addition, this software is freely available and has the following pre-requisites:

  • 16GB RAM
  • 64-bit Windows, macOS, Linux, or Chrome OS operating system
  • 16GB disk space

After installing and verifying the prerequisite, we will be configuring the AVD in Android Studio:

Open Virtual Device Manager from the Android Studio main screen
Open Android Studio and select “Virtual Device Manager” from the “More Actions” drop-down menu.
Click the “Create device” button
Select a device definition, with or without Play Store
Select the system image for the preferred Android version
Configure the AVD hardware settings.

Click the “Finish” button to create the AVD.
Select the AVD you created and click the “Start” button to launch the AVD.

Configure hardware acceleration in Windows


Lastly, some configuration changes should be made to Windows. This will enable hardware acceleration of the emulator. However, this is an optional step, you can still use the emulator without it, but it will be slower and may not perform as well.

First, you must ensure that your computer has a processor that supports virtualization and that the feature is enabled in the BIOS. Then, you can follow these steps:

  1. Open the Start menu and type “Turn Windows features on or off” into the search box.
  2. Click on the “Turn Windows features on or off” option that appears in the search results.
  3. In the Windows Features window, scroll down and check the box next to “Hyper-V”.
  4. Click on the “OK” button to enable Hyper-V on your computer.

This will enable Hyper-V acceleration for the Android emulator, which can improve its performance. Make sure that the AVD you are creating is using an x86_64 or x86-based system image.

In conclusion, we are left with an Android Virtual Device (AVD) on Windows with all the necessities in-place to have hardware acceleration and still be able to use Hyper-V.
Our next step will be to enroll this device in Microsoft Intune, just as described in my next post.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.