Enable Hyper-V on the remote Windows Server for Android Emulator?

perfect code 276 Reputation points
2023-02-06T18:21:32.4933333+00:00

We have two questions about Android Development on Windows:

1.

We need to enable Hyper-V on a rented Windows server (remote server) so that we can start Android Emulator on it in an accelerated way.

Unfortunately, we are not successful in setting up Hyper-V. The server provider tells us that he has installed Hyper-V and wonders about our problems.

User's image

But when we start the app in visual studio, we get the message that hyper-V is not installed and enabled!?

User's image

What exactly should we tell our server provider so that it knows what to do?

2.

Does it make sense to develop Android applications on a remote server, or would it be better to do it on a server or PC in the company? We are aware of one disadvantage, which is the redirection from the remote server to our own PC, so that we can connect Android Mobile via UBS (i.e. if we do not want to run the application only via Android emulator on the remote server).

Thanks

Developer technologies | .NET | Blazor
Developer technologies | .NET | .NET MAUI
Windows for business | Windows Server | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,086 Reputation points Volunteer Moderator
    2023-02-06T18:44:57.2166667+00:00

    the windows hypervisor platform is different than Hyper-V. It is a hyper-v add-on that allows Hyper-V applications to also run an emulator.

    on windows 11 & server 2022 its a check box on features.

    on windows server 2019, use command line:

    Enable-WindowsOptionalFeature -FeatureName "HypervisorPlatform" -Online


  2. perfect code 276 Reputation points
    2023-02-08T15:44:45.4433333+00:00

    @Bruce (SqlWork.com)

    We have forwarded your comments to the provider. However, he was very short on this and wrote the following:

    The thing will just check a Windows desktop feature. Fact: Hyper-V role is installed, ergo CPU and Windows as it should be.

    Please contact your software publisher so that they can solve the problem. I can't really help.

    His answer doesn't really make sense, especially since he rents the servers and should know about it!

    Thanks anyway

    PS: I mark the question as answered


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.