我可以在Microsoft hyper-v虚拟机中运行Android Studio(Android SDK模拟器)吗? [英] Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?

查看:168
本文介绍了我可以在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".

这篇关于我可以在Microsoft hyper-v虚拟机中运行Android Studio(Android SDK模拟器)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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