Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to verify that Android SDK emulator is running in Hyper-V

I am developing an app for android using Xamarin. I am using Visual Studio 2017 and the Android SDK emulator that came with the Xamarin package from the visual studio installer.

The emulator is very slow. I followed the instructions in this article to enable acceleration with Hyper-V: https://docs.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/hardware-acceleration

The article does not say anything about having to set up a VM or configure the emulator itself to use Hyper-V, only how to enable Hyper-V...

The emulator is still slow. How can I verify that the emulator is actually using Hyper-V?

like image 775
Nesh Avatar asked Feb 25 '19 10:02

Nesh


1 Answers

In Documentation Microsoft suggest to run the following command to see which Acceleration you use:

"C:\Program Files (x86)\Android\android-sdk\emulator\emulator-check.exe" accel

Also make sure you use a recent Windows 10 Build, the Hyper-V Platform only works since Version 1803, but not in older Windows 10 Versions.

If you still have issues, follow the Microsoft documentation, it shows a lot of tips.

like image 178
magicandre1981 Avatar answered Nov 15 '22 04:11

magicandre1981