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

我怕爱的太早我们不能终老 提交于 2019-12-04 04:24:35

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/54863648/how-to-verify-that-android-sdk-emulator-is-running-in-hyper-v

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!