如何验证Android SDK模拟器是否在Hyper-V中运行 [英] How to verify that Android SDK emulator is running in Hyper-V

查看:173
本文介绍了如何验证Android SDK模拟器是否在Hyper-V中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Xamarin开发适用于android的应用程序.我正在使用Visual Studio安装程序的Xamarin软件包随附的Visual Studio 2017和Android SDK模拟器.

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.

模拟器非常慢.我按照本文中的说明启用了Hyper-V加速: https://docs.microsoft.com/zh-cn/xamarin/android/get-started/installation/android-emulator/hardware-acceleration

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

本文只说了如何启用Hyper-V ...

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...

仿真器仍然很慢.如何验证模拟器是否正在使用Hyper-V?

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

推荐答案

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

还请确保您使用的是最新的Windows 10 Build,Hyper-V平台仅自版本1803起可用,但不适用于较早的Windows 10版本.

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.

如果仍然有问题,请遵循Microsoft文档,其中显示了很多技巧.

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

这篇关于如何验证Android SDK模拟器是否在Hyper-V中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆