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

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

推荐答案

参考此链接:如何在不禁用 Hyper-V 的情况下在 Windows 上运行 Android Studio

解决方案(如果您不想禁用 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... 并选择 Deployment Target Options 下的 Show Device Chooser Dialog.

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天全站免登陆