Home:ALL Converter>Develop Android Xamarian app on Visual Studio 2019 in Windows Server 2019 Virtual Machine running on Windows Server 2016 AMD Server

Develop Android Xamarian app on Visual Studio 2019 in Windows Server 2019 Virtual Machine running on Windows Server 2016 AMD Server

Ask Time:2021-11-15T12:00:40         Author:Mehdi Anis

Json Formatter

I am an experienced C# ASP .NET Developer trying to develop an Android app in Visual Studio 2019 for the First Time. My Visual Studio is installed in a Virtual Machine running Windows Server 2019. This Virtual Machine is running on an AMD processor based server, Host Operating System is Windows Server 2016.

I created the basic/default Xamarian project in visual studio. When I try to run it I get error that I do not have Intel processor and hardware acceleration is disabled. I can click "Continue". Then it tries to run the Emulator and get error message

Turn on "Windows Hypervisor Platform" feature to switch to the Native Hypervisor and accelerate your emulator.

Since I am already in a VM cannot Turn On Hyper-V. I can, however, click "Run anyway" button. But get another error :- Emulator Error

Device error: WARNING: unexpected '-prop' value ('monodroid.avdname=pixel_2_pie_9_0_-_api_28'), only 'qemu.' properties are supported WARNING: unexpected '-prop' value ('emu.uuid=0e874e5d-5d0e-4aa9-8f60-0c351dc95185'), only 'qemu.' properties are supported

Google search revels Android Emulator cannot be run on a Hyper-V Virtual Machine. In my development environment/settings, Is there a way to develop Android App in Visual Studio 2019 running in a Hyper-V VM?

Author:Mehdi Anis,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/69969362/develop-android-xamarian-app-on-visual-studio-2019-in-windows-server-2019-virtua
yy