skip to Main Content

I need the ability to run the Android emulator on a VM as part of a test environment to automate UI testing for a mobile app.

I have created my Azure VM – Windows 10 Pro with size Standard D4s v3 (4 vcpus, 16 GiB memory) to enable nested virtualisation (running a virtual device inside another virtual device with is the Azure VM).

I have installed Android Studio with HAXM installed after I disabled Hyper – V(since both cannot co-exisit and I was advised by somewhere that this is the correct procedure).

I am able to create the virtual device but when I try to start it I get the following error:

Emulator is ruuning nested virtualization. This si not recommended. It may not work at all


Your driver information:

GPU#1
Make: 1414
Model: Microsoft Basic Render Driver
DeviceID: 008c

Some users have experienced emulator stability issues with this driver version.As a result, we're selecting a compatability renderer.
Please check with your manufacturer to see if there is an updated driver available

enter image description here

The virtual device is not able to start up,
Any ideas?

2

Answers


  1. Chosen as BEST ANSWER

    Thanks for the prompt resonse Venkat.

    I have followed you instructions but I m getting the exactly the same issue when I create the VM with 'Gen 1':

    enter image description here

    enter image description here

    I have installed the following SDK tools:

    enter image description here enter image description here


  2. How do I run Android virtual device in Azure VM?

    I have followed the steps below to install Android Studio and an emulator in an Azure VM.

    1. Created Azure VM – Windows 10 Pro with size Standard D4s v3 (4 vcpus, 16 GiB memory) and Gen-1 not version Gen-2.

    enter image description here

    Note: The v2 D-series doesn’t support nesting, kindly use V1 version instead of Gen-V2

    1. Installed HAXM
    2. Installed Android Studio, and once the Studio is installed, check the following settings in Android Studio by navigating through the steps below
      Toos > SDK Manager > Languages & Framework >Android SDK > SDK Tools
      enter image description here

    4.Created Virtual Device as below.

    enter image description here

    1. After creating the device, I am able to launch the AVD successfully.

    enter image description here

    Refer same kind of issue in Stack by Architect Jamieand Stack link 1

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search