我可以在Microsoft hyper-v虚拟机中运行Android Studio(Android SDK模拟器)吗?

我可以在Microsoft hyper-v虚拟机中运行Android Studio(Android SDK模拟器)吗?

问题描述:

我可以在Microsoft hyper-v虚拟机中运行Android Studio和Android SDK模拟器吗?请仔细阅读.

Can I run Android Studio and Android SDK emulator in a Microsoft hyper-v virtual machine? Please read carefully.

我已经将Hyper-V大量用于其他用途.现在,我需要为Android开发一个应用程序.

I already use Hyper-V a lot for other purposes. Now I need to develop a app for Android.

我已经安装了新的虚拟机(Windows 10)并安装了Android Studio.我无法运行android仿真器,因为它缺少"intel HAXM软件".

I've installed a new virtual machine (windows 10) and installed Android Studio. I cannot run the android emulator because it's lacking the 'intel HAXM software'.

我读到很多关于无法将Hyper-V NEXT安装到Android Studio的信息,但是没有一篇文章提到任何有关在Hyper-V机器中安装的内容.

I read a lot about that it's not possible to install Hyper-V NEXT to Android Studio, but non of the post actually say anything about installing in a Hyper-V machine.

请参阅此链接: 如何在Windows上运行Android Studio而不禁用Hyper-V

解决方案(如果您不想禁用Hyper-V)是使用Microsoft的Android模拟器,该模拟器可免费下载

The solution (if you do not want to disable Hyper-V) is to use Microsoft’s Android emulator, which is a free download here.

要在Android Studio中使用此功能,您需要先运行模拟器.然后,在Android Studio中,转到Run> Edit Configurations...,然后在部署目标选项"下选择显示设备选择器对话框".

In order to use this with Android Studio, you need to run the emulator first. Then, in Android Studio, go to Run > Edit Configurations... and select Show Device Chooser Dialog under Deployment Target Options.

运行项目,然后选择VS Emulator,而忽略关闭Hyper-V"的邀请.

Run your project, and select the VS Emulator, ignoring the invitation to "Turn off Hyper-V".