运行新的英特尔模拟器的Android。

时间:2022-04-12 18:54:19

Lately Google and Intel have published a new way to run the emulator, which should work much better than the previous version (which has emulated ARM CPU). Here are some links about it: this and this.

最近谷歌和Intel发布了一种运行仿真器的新方法,该方法比以前的版本(ARM CPU)要好得多。这里有一些关于它的链接:这个和这个。

However, after installing the new components and creating a new emulator configuration as instructed, I get an error and I also can't see any improvements. I've tried both API 10 and API 15, and with GPU enabled and disabled. None of those configurations helped. I've also tried it on two different computers and didn't get any boost (and got the same errors).

但是,在安装了新组件并按照指示创建了新的模拟器配置之后,我得到了一个错误,而且我也看不到任何改进。我尝试过API 10和API 15,使用GPU支持和禁用。这些配置都没有帮助。我也在两台不同的计算机上尝试过,但没有得到任何提升(并得到了相同的错误)。

It seems that on the posts I've read about it, nobody had any problems with it and all report a much faster emulator.

似乎在我读过的帖子里,没有人有任何问题,而且都报告了一个更快的仿真器。

The error it shows is:

它显示的错误是:

emulator: Failed to open the HAX device!
HAX is not working and emulator runs in emulation mode
emulator: Open HAX device failed

Why is it happening, and is there a way to fix it? Is there anyone else who gets those errors or vice versa?

为什么会发生这种情况,有什么方法可以修复它吗?还有谁犯了这些错误?

By the way, I have an Intel CPU, if that could be a problem.

顺便说一下,我有一个英特尔处理器,如果那可能是个问题的话。


EDIT:

编辑:

here's what I see in the BIOS, so it should be available... :

这是我在BIOS中看到的,所以它应该是可用的。:

运行新的英特尔模拟器的Android。

16 个解决方案

#1


417  

I had the same issue, solved it by Installing the Intel Hardware Accelerated Execution Manager. Download it with the SDK Manager, it's in Extras. After this, go to the folder

我有同样的问题,通过安装英特尔硬件加速执行管理器解决了这个问题。下载到SDK管理器,它是额外的。在此之后,转到文件夹。

[Android SDK Root]\extras\intel\Hardware_Accelerated_Execution_Manager

(Android SDK根)英特尔\配件\ \ Hardware_Accelerated_Execution_Manager

then run IntelHaxm.exe and install.

然后运行IntelHaxm。exe和安装。

Here the link of the Intel Hardware Accelerated IntelHaxm.exe for Microsoft Windows,Mac OS* X, and Linux Ubuntu

在这里,英特尔硬件的链接加速了IntelHaxm。为Microsoft Windows,Mac OS* X和Linux Ubuntu提供exe。

运行新的英特尔模拟器的Android。

You'll get the following message if you don't have virtualization enabled in your BIOS:

如果您的BIOS中没有启用虚拟化,您将得到以下消息:

运行新的英特尔模拟器的Android。

#2


22  

Small Note for Windows 8 user, Intel HAX will not work if Hyper-V feature is enable. Hyper-V (like most of the virtualization tech) will exclusively lock the VT extension witch will prevent HAX to work properly. A workaround if you “need” Hyper-V too might be to stop manually the Hyper-V services when you need HAX (haven’t tested it yet through).

对于Windows 8用户的小提示,如果Hyper-V功能启用,Intel HAX将无法工作。Hyper-V(像大多数的虚拟化技术一样)将完全锁定VT扩展的女巫,以阻止HAX正常工作。如果您“需要”Hyper-V也可能是在需要HAX(还没有经过测试)时手动停止Hyper-V服务。

#3


21  

If all else fails. Simply try to download the Intel HAXM zip manually, extract and install. check here

如果一切都失败了。只需尝试手动下载Intel HAXM zip,提取并安装。检查在这里

Remember this only works for an Intel cpu that supports Intel Virtualization Technology. And you MUST enable virtulization in your bios.

记住,这只适用于支持Intel虚拟化技术的Intel cpu。并且必须在bios中启用虚拟化。

It's a fairly decent and very noticeable improvement to the android emulator if you ask me.

如果你问我,这对android模拟器来说是一个相当不错而且非常值得注意的改进。

#4


18  

Not every processor is supporting the virtualization!

不是每个处理器都支持虚拟化!

To find out your chipset abilities go to http://ark.intel.com/, insert the name of your processor in the search line and check out the resolve.

要找到你的芯片组功能,请访问http://ark.intel.com/,在搜索栏中插入你的处理器的名称,并检查其解决方案。

Advanced Technologies: ...

先进的技术:…

Intel® Virtualization Technology (VT-x) = ???

英特尔®虚拟化技术(开始)= ? ? ?

If you see "No", you can forget HAXM!

如果您看到“不”,您就可以忘记HAXM!

#5


9  

Here are the steps to get the Hardware Accelerated Execution (HAX) which is really quite a lot:

下面是获得硬件加速执行(HAX)的步骤,这确实非常多:

1-check your processor Intel website to see if it supports Intel VT-x or not: http://ark.intel.com/Products/VirtualizationTechnology all Intel Core i processors and some other selected processors support Intel VT-x

检查你的处理器Intel的网站看看它是否支持Intel的VT-x或者不支持:http://ark.intel.com/Products/VirtualizationTechnology所有的Intel Core i处理器和一些其他选择的处理器支持Intel的VT-x。

2- check your bios to enable Intel VT-x , usually called hardware virtualization or Intel virtualization in bios

2-检查你的bios,以启用英特尔的VT-x,通常被称为硬件虚拟化或在bios里的Intel虚拟化。

3- check if you are using a software conflicting with HAXM, popular software conflicting with haxm include but not limited to:

3-检查您是否使用与HAXM相冲突的软件,流行软件与HAXM相冲突,包括但不限于:

Hyper-V
Windows phone SDK 8
Avast antivirus 8 

4-install Intel management engine interface (MEI), this driver is usually not installed and is not part of retailer Windows DVD, even Windows 8. Check this post about how to install: http://communities.intel.com/community/vproexpert/blog/2011/12/19/mei-driver-now-available-via-microsoft-windows-update This driver is required and is not optional to activate Hardware Acceleration you can also install it from windows update

4安装Intel management engine interface (MEI),这个驱动程序通常没有安装,也不是零售商Windows DVD的一部分,甚至是Windows 8。查看这篇关于如何安装的帖子:http://communties.intel.com/community/vproexpert/blog/2011/12/19/mei -driver-现在可用的via- microsoftwindow -update这个驱动程序是必需的,并不是可选的来激活硬件加速,你也可以从windows更新中安装它。

5-use android SDK manager to download Extras -> Intel x86 Hardware Accelerated Execution Manager.

5-使用android SDK管理器下载附加-> Intel x86硬件加速执行管理器。

6-Run installer of HAXM from: [Android SDK Root]\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe

6运行的HAXM的安装程序来自:[Android SDK根]\ \intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe。

if you passed the previous steps the installer will work just fine ,otherwise it will fail

如果您通过了前面的步骤,安装程序就可以正常工作,否则就会失败。

7-start AVD and see the difference in performance, Animations are faster System UI and launchers crashes in 4.0.3 but are just fine for 4.2.2

7-start AVD,看到性能上的差异,动画更快的系统UI和启动器崩溃在4.0.3,但仅仅是4.2.2。

see installation guide by intel:

请参阅英特尔安装指南:

#6


7  

Using SDK Manager to download Intel HAX did not work.

使用SDK管理器下载Intel HAX不工作。

Downloading and installing it from the Intel website did work. http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/

从英特尔网站下载并安装它确实有用。http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/

Top Tip: making the change in my BIOS to enable virtualization and then using "restart" did not enable virtualization. Doing a cold boot (i.e. shutdown and restart) suddenly made it appear.

顶部提示:在BIOS中进行更改以启用虚拟化,然后使用“重启”不支持虚拟化。做一个冷启动(即关闭和重启)突然使它出现。

The first step (on Windows) is to make sure that the Micrsoft Hardware-Assisted Virtualization Tool reports that "this computer is configured with hardware-assisted virtualization". http://www.microsoft.com/en-us/download/details.aspx?id=592

第一步(在Windows上)是确保Micrsoft硬件辅助虚拟化工具报告“这台计算机配置了硬件辅助虚拟化”。http://www.microsoft.com/en-us/download/details.aspx?id=592

#7


5  

You might need to turn on virtualization in your BIOS, most manufacturers disable it by default. Intel HAX requires CPU virtualization to be enabled.

您可能需要打开BIOS中的虚拟化,大多数制造商默认禁用它。Intel HAX需要启用CPU虚拟化。

#8


3  

The same began to happen to me about one week ago, without apparent reason (99% sure that I didn't upgrade anything); after being able to run the emulator for some time it just stopped working without an apparent reason.

同样的事情在一周前发生在我身上,没有明显的原因(99%确信我没有升级任何东西);在能够运行模拟器一段时间后,它就停止了工作,没有明显的原因。

I tried to install the Intel thingie, but the installer reported that my machine doesn't support Intel VM, despite the fact that it has an Intel i3 processor and that virtualization is enabled (perhaps XP is too old an OS for that, although MS VM, Oracle's Virtual Box and VMWare have been installed an working in this machine with the same OS).

我想安装英特尔thingie,但安装程序报告说我的机器不支持英特尔VM,尽管事实上它有一个英特尔i3处理器,启用虚拟化(也许XP太老了一个操作系统,虽然VM女士,甲骨文虚拟框和VMWare安装了这台机器的工作相同的操作系统)。

I just edited the VD to emulate an Arm processor, and everything is working again.

我刚刚编辑了VD来模拟Arm处理器,一切都恢复正常了。

Perhaps not the optimal solution, but it works!

也许不是最理想的解决方案,但它确实有效!

#9


3  

For Windows, there are some answers explained how it works. But I'm a Mac User, I don't know how to install HAX driver for Mac as they did for Windows. Finally I found the below link and it did fix my problem. You should download HAXM of Mac and then install it.

对于Windows,有一些答案解释了它是如何工作的。但我是一个Mac用户,我不知道如何为Mac安装HAX驱动程序,就像他们为Windows所做的那样。最后,我找到了下面的链接,它确实解决了我的问题。您应该下载Mac的HAXM,然后安装它。

https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx/

https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx/

#10


2  

Complete step-by-step instructions for running the accelerated emulator can be found on the official Android developers website:

关于运行加速模拟器的完整步骤说明可以在官方的Android开发者网站上找到:

Caution: As of SDK Tools Revision 17, the virtual machine acceleration feature for the emulator is experimental; be alert for incompatibilities and errors when using this feature.

注意:在SDK工具修订17中,仿真器的虚拟机加速特性是实验性的;在使用该特性时要警惕不兼容性和错误。

#11


2  

You have to download the Intel® Hardware Accelerated Execution Manager. Then you will get this message:

你必须下载英特尔®硬件加速执行经理。然后你会得到这样的信息:

Starting emulator for AVD 'test' emulator: device fd:740 HAX is working and emulator runs in fast virt mode

用于AVD 'test'模拟器的启动仿真器:device fd:740 HAX正在运行,仿真器运行在快速virt模式下。

#12


2  

For Mac users who want to check whether your processor supports virtualisation, use the maccpuid software and look for VMX. If it is checked then you're good to go.

对于想要检查您的处理器是否支持虚拟化的Mac用户,请使用maccpuid软件并寻找VMX。如果检查完毕,你就可以走了。

Download it here

在这里下载

运行新的英特尔模拟器的Android。

#13


1  

Here there are two issues we have to concentrate on:

这里有两个我们必须关注的问题:

  1. HAX device failed to open,

    HAX设备未能打开,

    For this problem, you have to run the HAX device setup file from the HAX addon folder. Follow Speed Up Android Emulator to know clearly how.

    对于这个问题,您必须从HAX addon文件夹中运行HAX设备安装文件。跟上Android模拟器的速度,清楚地知道怎么做。

  2. If you created the AVD through AVD manager then you can change the RAM size in AVD Manager and device edit option.

    如果您通过AVD管理器创建AVD,那么您可以更改AVD管理器和设备编辑选项中的RAM大小。

If you created the AVD through command line, then you should start the AVD from command line will work,

如果您通过命令行创建AVD,那么您应该从命令行启动AVD,

emulator -memory 512 -avd gtv_avd

#14


0  

If everything else fails, it's good to try my option and download a HAXM installer.

如果其他方法都失败了,可以尝试一下我的选择,下载一个HAXM安装程序。

It needs to be copied to HAXM installation folder and then started from command line (start CMD as an Administrator). After restarting computer HAXM will be installed. It perfectly worked for me as I was having problems with installing it on my laptop.

它需要被复制到HAXM安装文件夹,然后从命令行开始(作为管理员启动CMD)。重新启动计算机HAXM后将安装。这对我来说是完美的,因为我在笔记本电脑上安装它时遇到了问题。

After all simply type sc query intelhaxm in your cmd in order to check whether HAXM is installed properly.

在您的cmd中简单地键入sc查询intelhaxm,以检查HAXM是否正确安装。

#15


0  

If you are running an Intel processor make sure the HAXM (Intel® Hardware Accelerated Execution Manager) installer is installed via SDK Manager by checking this option in SDK Manager. And then run the HAXM installer ext via the path below.

如果您正在运行一个英特尔处理器确保HAXM(Intel®硬件加速执行经理)通过SDK安装程序安装管理器通过检查该选项在SDK经理。然后通过下面的路径运行HAXM安装程序ext。

your_sdk_folder\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe

Also check the RAM size allocated while doing HAX installation so it fits the RAM size of your emulator.

还要检查在进行HAX安装时所分配的RAM大小,以便它适合您的仿真器的RAM大小。

This video shows all the required steps which may help you to solve the problem.

这段视频展示了所有需要的步骤,可以帮助您解决问题。

This video will also help you if you face a problem after installing HAXM.

如果您在安装HAXM后遇到问题,本视频也将帮助您。

#16


0  

  1. Download HAXM from the Intel site.

    从英特尔网站下载HAXM。

  2. Install it.

    安装它。

  3. And then run the AVD from AndroidStudio, menu -> Tools -> AVD. Choose x86.

    然后从AndroidStudio运行AVD,菜单->工具-> AVD。选择x86。

It works!

它的工作原理!

#1


417  

I had the same issue, solved it by Installing the Intel Hardware Accelerated Execution Manager. Download it with the SDK Manager, it's in Extras. After this, go to the folder

我有同样的问题,通过安装英特尔硬件加速执行管理器解决了这个问题。下载到SDK管理器,它是额外的。在此之后,转到文件夹。

[Android SDK Root]\extras\intel\Hardware_Accelerated_Execution_Manager

(Android SDK根)英特尔\配件\ \ Hardware_Accelerated_Execution_Manager

then run IntelHaxm.exe and install.

然后运行IntelHaxm。exe和安装。

Here the link of the Intel Hardware Accelerated IntelHaxm.exe for Microsoft Windows,Mac OS* X, and Linux Ubuntu

在这里,英特尔硬件的链接加速了IntelHaxm。为Microsoft Windows,Mac OS* X和Linux Ubuntu提供exe。

运行新的英特尔模拟器的Android。

You'll get the following message if you don't have virtualization enabled in your BIOS:

如果您的BIOS中没有启用虚拟化,您将得到以下消息:

运行新的英特尔模拟器的Android。

#2


22  

Small Note for Windows 8 user, Intel HAX will not work if Hyper-V feature is enable. Hyper-V (like most of the virtualization tech) will exclusively lock the VT extension witch will prevent HAX to work properly. A workaround if you “need” Hyper-V too might be to stop manually the Hyper-V services when you need HAX (haven’t tested it yet through).

对于Windows 8用户的小提示,如果Hyper-V功能启用,Intel HAX将无法工作。Hyper-V(像大多数的虚拟化技术一样)将完全锁定VT扩展的女巫,以阻止HAX正常工作。如果您“需要”Hyper-V也可能是在需要HAX(还没有经过测试)时手动停止Hyper-V服务。

#3


21  

If all else fails. Simply try to download the Intel HAXM zip manually, extract and install. check here

如果一切都失败了。只需尝试手动下载Intel HAXM zip,提取并安装。检查在这里

Remember this only works for an Intel cpu that supports Intel Virtualization Technology. And you MUST enable virtulization in your bios.

记住,这只适用于支持Intel虚拟化技术的Intel cpu。并且必须在bios中启用虚拟化。

It's a fairly decent and very noticeable improvement to the android emulator if you ask me.

如果你问我,这对android模拟器来说是一个相当不错而且非常值得注意的改进。

#4


18  

Not every processor is supporting the virtualization!

不是每个处理器都支持虚拟化!

To find out your chipset abilities go to http://ark.intel.com/, insert the name of your processor in the search line and check out the resolve.

要找到你的芯片组功能,请访问http://ark.intel.com/,在搜索栏中插入你的处理器的名称,并检查其解决方案。

Advanced Technologies: ...

先进的技术:…

Intel® Virtualization Technology (VT-x) = ???

英特尔®虚拟化技术(开始)= ? ? ?

If you see "No", you can forget HAXM!

如果您看到“不”,您就可以忘记HAXM!

#5


9  

Here are the steps to get the Hardware Accelerated Execution (HAX) which is really quite a lot:

下面是获得硬件加速执行(HAX)的步骤,这确实非常多:

1-check your processor Intel website to see if it supports Intel VT-x or not: http://ark.intel.com/Products/VirtualizationTechnology all Intel Core i processors and some other selected processors support Intel VT-x

检查你的处理器Intel的网站看看它是否支持Intel的VT-x或者不支持:http://ark.intel.com/Products/VirtualizationTechnology所有的Intel Core i处理器和一些其他选择的处理器支持Intel的VT-x。

2- check your bios to enable Intel VT-x , usually called hardware virtualization or Intel virtualization in bios

2-检查你的bios,以启用英特尔的VT-x,通常被称为硬件虚拟化或在bios里的Intel虚拟化。

3- check if you are using a software conflicting with HAXM, popular software conflicting with haxm include but not limited to:

3-检查您是否使用与HAXM相冲突的软件,流行软件与HAXM相冲突,包括但不限于:

Hyper-V
Windows phone SDK 8
Avast antivirus 8 

4-install Intel management engine interface (MEI), this driver is usually not installed and is not part of retailer Windows DVD, even Windows 8. Check this post about how to install: http://communities.intel.com/community/vproexpert/blog/2011/12/19/mei-driver-now-available-via-microsoft-windows-update This driver is required and is not optional to activate Hardware Acceleration you can also install it from windows update

4安装Intel management engine interface (MEI),这个驱动程序通常没有安装,也不是零售商Windows DVD的一部分,甚至是Windows 8。查看这篇关于如何安装的帖子:http://communties.intel.com/community/vproexpert/blog/2011/12/19/mei -driver-现在可用的via- microsoftwindow -update这个驱动程序是必需的,并不是可选的来激活硬件加速,你也可以从windows更新中安装它。

5-use android SDK manager to download Extras -> Intel x86 Hardware Accelerated Execution Manager.

5-使用android SDK管理器下载附加-> Intel x86硬件加速执行管理器。

6-Run installer of HAXM from: [Android SDK Root]\extras\intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe

6运行的HAXM的安装程序来自:[Android SDK根]\ \intel\Hardware_Accelerated_Execution_Manager\IntelHaxm.exe。

if you passed the previous steps the installer will work just fine ,otherwise it will fail

如果您通过了前面的步骤,安装程序就可以正常工作,否则就会失败。

7-start AVD and see the difference in performance, Animations are faster System UI and launchers crashes in 4.0.3 but are just fine for 4.2.2

7-start AVD,看到性能上的差异,动画更快的系统UI和启动器崩溃在4.0.3,但仅仅是4.2.2。

see installation guide by intel:

请参阅英特尔安装指南:

#6


7  

Using SDK Manager to download Intel HAX did not work.

使用SDK管理器下载Intel HAX不工作。

Downloading and installing it from the Intel website did work. http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/

从英特尔网站下载并安装它确实有用。http://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager/

Top Tip: making the change in my BIOS to enable virtualization and then using "restart" did not enable virtualization. Doing a cold boot (i.e. shutdown and restart) suddenly made it appear.

顶部提示:在BIOS中进行更改以启用虚拟化,然后使用“重启”不支持虚拟化。做一个冷启动(即关闭和重启)突然使它出现。

The first step (on Windows) is to make sure that the Micrsoft Hardware-Assisted Virtualization Tool reports that "this computer is configured with hardware-assisted virtualization". http://www.microsoft.com/en-us/download/details.aspx?id=592

第一步(在Windows上)是确保Micrsoft硬件辅助虚拟化工具报告“这台计算机配置了硬件辅助虚拟化”。http://www.microsoft.com/en-us/download/details.aspx?id=592

#7


5  

You might need to turn on virtualization in your BIOS, most manufacturers disable it by default. Intel HAX requires CPU virtualization to be enabled.

您可能需要打开BIOS中的虚拟化,大多数制造商默认禁用它。Intel HAX需要启用CPU虚拟化。

#8


3  

The same began to happen to me about one week ago, without apparent reason (99% sure that I didn't upgrade anything); after being able to run the emulator for some time it just stopped working without an apparent reason.

同样的事情在一周前发生在我身上,没有明显的原因(99%确信我没有升级任何东西);在能够运行模拟器一段时间后,它就停止了工作,没有明显的原因。

I tried to install the Intel thingie, but the installer reported that my machine doesn't support Intel VM, despite the fact that it has an Intel i3 processor and that virtualization is enabled (perhaps XP is too old an OS for that, although MS VM, Oracle's Virtual Box and VMWare have been installed an working in this machine with the same OS).

我想安装英特尔thingie,但安装程序报告说我的机器不支持英特尔VM,尽管事实上它有一个英特尔i3处理器,启用虚拟化(也许XP太老了一个操作系统,虽然VM女士,甲骨文虚拟框和VMWare安装了这台机器的工作相同的操作系统)。

I just edited the VD to emulate an Arm processor, and everything is working again.

我刚刚编辑了VD来模拟Arm处理器,一切都恢复正常了。

Perhaps not the optimal solution, but it works!

也许不是最理想的解决方案,但它确实有效!

#9


3  

For Windows, there are some answers explained how it works. But I'm a Mac User, I don't know how to install HAX driver for Mac as they did for Windows. Finally I found the below link and it did fix my problem. You should download HAXM of Mac and then install it.

对于Windows,有一些答案解释了它是如何工作的。但我是一个Mac用户,我不知道如何为Mac安装HAX驱动程序,就像他们为Windows所做的那样。最后,我找到了下面的链接,它确实解决了我的问题。您应该下载Mac的HAXM,然后安装它。

https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx/

https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-end-user-license-agreement-macosx/

#10


2  

Complete step-by-step instructions for running the accelerated emulator can be found on the official Android developers website:

关于运行加速模拟器的完整步骤说明可以在官方的Android开发者网站上找到:

Caution: As of SDK Tools Revision 17, the virtual machine acceleration feature for the emulator is experimental; be alert for incompatibilities and errors when using this feature.

注意:在SDK工具修订17中,仿真器的虚拟机加速特性是实验性的;在使用该特性时要警惕不兼容性和错误。

#11


2  

You have to download the Intel® Hardware Accelerated Execution Manager. Then you will get this message:

你必须下载英特尔®硬件加速执行经理。然后你会得到这样的信息:

Starting emulator for AVD 'test' emulator: device fd:740 HAX is working and emulator runs in fast virt mode

用于AVD 'test'模拟器的启动仿真器:device fd:740 HAX正在运行,仿真器运行在快速virt模式下。

#12


2  

For Mac users who want to check whether your processor supports virtualisation, use the maccpuid software and look for VMX. If it is checked then you're good to go.

对于想要检查您的处理器是否支持虚拟化的Mac用户,请使用maccpuid软件并寻找VMX。如果检查完毕,你就可以走了。

Download it here

在这里下载

运行新的英特尔模拟器的Android。

#13


1  

Here there are two issues we have to concentrate on:

这里有两个我们必须关注的问题:

  1. HAX device failed to open,

    HAX设备未能打开,

    For this problem, you have to run the HAX device setup file from the HAX addon folder. Follow Speed Up Android Emulator to know clearly how.

    对于这个问题,您必须从HAX addon文件夹中运行HAX设备安装文件。跟上Android模拟器的速度,清楚地知道怎么做。

  2. If you created the AVD through AVD manager then you can change the RAM size in AVD Manager and device edit option.

    如果您通过AVD管理器创建AVD,那么您可以更改AVD管理器和设备编辑选项中的RAM大小。

If you created the AVD through command line, then you should start the AVD from command line will work,

如果您通过命令行创建AVD,那么您应该从命令行启动AVD,

emulator -memory 512 -avd gtv_avd

#14


0  

If everything else fails, it's good to try my option and download a HAXM installer.

如果其他方法都失败了,可以尝试一下我的选择,下载一个HAXM安装程序。

It needs to be copied to HAXM installation folder and then started from command line (start CMD as an Administrator). After restarting computer HAXM will be installed. It perfectly worked for me as I was having problems with installing it on my laptop.

它需要被复制到HAXM安装文件夹,然后从命令行开始(作为管理员启动CMD)。重新启动计算机HAXM后将安装。这对我来说是完美的,因为我在笔记本电脑上安装它时遇到了问题。

After all simply type sc query intelhaxm in your cmd in order to check whether HAXM is installed properly.

在您的cmd中简单地键入sc查询intelhaxm,以检查HAXM是否正确安装。

#15


0  

If you are running an Intel processor make sure the HAXM (Intel® Hardware Accelerated Execution Manager) installer is installed via SDK Manager by checking this option in SDK Manager. And then run the HAXM installer ext via the path below.

如果您正在运行一个英特尔处理器确保HAXM(Intel®硬件加速执行经理)通过SDK安装程序安装管理器通过检查该选项在SDK经理。然后通过下面的路径运行HAXM安装程序ext。

your_sdk_folder\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm.exe

Also check the RAM size allocated while doing HAX installation so it fits the RAM size of your emulator.

还要检查在进行HAX安装时所分配的RAM大小,以便它适合您的仿真器的RAM大小。

This video shows all the required steps which may help you to solve the problem.

这段视频展示了所有需要的步骤,可以帮助您解决问题。

This video will also help you if you face a problem after installing HAXM.

如果您在安装HAXM后遇到问题,本视频也将帮助您。

#16


0  

  1. Download HAXM from the Intel site.

    从英特尔网站下载HAXM。

  2. Install it.

    安装它。

  3. And then run the AVD from AndroidStudio, menu -> Tools -> AVD. Choose x86.

    然后从AndroidStudio运行AVD,菜单->工具-> AVD。选择x86。

It works!

它的工作原理!