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

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

问题描述

我正在使用 Xamarin 为 android 开发应用程序.我使用的是 Visual Studio 2017 和 Visual Studio 安装程序中 Xamarin 包附带的 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/en-us/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,只说如何启用 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?

推荐答案

在 Microsoft 文档中 建议运行以下命令以查看您使用的加速:

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

"C:Program Files (x86)Androidandroid-sdkemulatoremulator-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天全站免登陆