我的电脑上有一个VirtualBox虚拟机,虚拟机运行Windows 7 64位。我在该VM上安装了Android Studio。我只有基本的Hello World应用程序。当我尝试运行AVD时,我收到以下消息:在Windows 7虚拟机上的Android Studio虚拟设备不兼容
Intel HAXM is required to run this AVD. Android Emulator is incompatible with Hyper-V.
Unfortunately, you cannot have Hyper-V running and use the emulator. Here is hat you can do:
1) Start a command prompt as Administrator
2) Run the following command: C:\Windows\system32> bcdedit /set hypervisorlaunchtype off
3) Reboot your machine.
我试着运行此命令并重新启动多次,不会更改任何内容。
我也试图做一些端口转发:http://paulsdevworld.blogspot.ca/2013/06/make-android-studio-work-with-androvm.html 我无法连接No connection could be made because the target machine actively refused it.
我查过这个问题,我不是有同样的问题,因为OP直接在VirtualBox中Test android app on Virtual Box from Android studio有一个机器人图像
任何人都知道一种方法来使这项工作或我可以尝试的东西? 随意问任何问题。
编辑: 我安装英特尔HAXM但是当我尝试运行它,我得到这个消息
有没有什么办法让这项工作在VM?
开始赏金时,答案并不需要使用Virtual Box,但必须免费。
我下载的VMware的免费试用版本,我设法得到它的工作使用以下这些设置。我在VirtualBox中尝试了完全相同的设置,并且出现了Hyper-V错误。
SOLUTION:
如果你想知道我能在虚拟盒中运行它。 这是我在AVD上使用的设置: 警告缓慢。
最新的Android Studio只针对API 26或27。没有相应的手臂图像,最后一个是25.因此VirtualBox等似乎不可行。 –