Nested Virtualization - Install Android Studio on Azure VM

Eduardo Nuñez 0 Reputation points
2023-04-30T02:25:08.3466667+00:00

Hi, I can't do Android Studio works on Azure VM

I setup several Azure VM but I allways get the same results

User's image

Please, could somebdoy help me with this installation.

Which image of Azure VM I have to choice?

Which OS do I have to choice?

Thank you in advance!

Windows for business Windows Client for IT Pros Networking Network connectivity and file sharing
Windows for business Windows Server User experience PowerShell
Microsoft Security Intune Microsoft Intune Android
Windows for business Windows Server User experience Other
{count} votes

2 answers

Sort by: Most helpful
  1. Prrudram-MSFT 28,201 Reputation points Moderator
    2023-04-30T19:00:52.54+00:00

    Hello @Eduardo Nuñez

    To install and run Android Studio on an Azure VM, you need to make sure that the VM meets the following requirements:

    • The VM must have nested virtualization enabled.
    • The VM must have a GPU with OpenGL 2.0 support.
    • The VM must have at least 4 cores and 8 GB of RAM.

    Regarding the image and OS, you can use any image and OS that supports nested virtualization. For example, you can use the "Windows Server 2019 Datacenter" image with the "Standard_D4s_v3" VM size, which supports nested virtualization.

    Once you have created the VM, you need to enable nested virtualization by running the following PowerShell command in an elevated PowerShell session:

    Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true
    

    Replace <VMName> with the name of your VM.

    After enabling nested virtualization, you can install Android Studio and run it on the VM. If you still face issues, please let me know and I'll try my best to help you.

    Please accept answer and upvote if the above information is helpful for the benefit of the community.

    1 person found this answer helpful.

  2. Eduardo Nuñez 0 Reputation points
    2023-04-30T22:00:11.9733333+00:00

    User's image

    When I try to execute the command from the console I allways get the error. Please some help! Thank you


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.