热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

我无法安装英特尔HAXM-Ican'tinstallintelHAXM

IinstalledAndroidStudioandIhadnoproblemswiththat.However,whenItriedtoruntheemulato

I installed Android Studio and I had no problems with that. However, when I tried to run the emulator, it said that Intel HAXM was not installed.

我安装了Android Studio,我没有遇到任何问题。然而,当我尝试运行模拟器时,它说没有安装Intel HAXM。

So I found the installer, ran it, and it even though it said my laptop supports it, that it was not enabled.

所以我找到了安装程序,运行它,尽管它说我的笔记本支持它,但它没有被启用。

So I went, enabled the Intel Virtualization Technology (VT-x), but I still got the same message.

于是我启用了英特尔虚拟化技术(VT-x),但我还是得到了同样的信息。

I hear something about Hyper-V needs to be unable, but when I go to Turn Windows Features On/Off, I cannot find it on that list.

我听说Hyper-V需要不能使用,但是当我打开/关闭Windows功能时,我在列表中找不到它。

Can someone help me with this?

有人能帮我一下吗?

15 个解决方案

#1


101  

Alright, so I did everything I could possibly find online, and nothing worked.

好吧,所以我做了所有我能在网上找到的事,但都没有成功。

So I went to the Intel website, and I downloaded the HAXM installer that they provide (instead of using the one downloaded through Android Studio).

所以我去了英特尔的网站,下载了他们提供的HAXM安装程序(而不是使用通过Android Studio下载的安装程序)。

The installation actually went through with this installer and it was installed successfully. Then I open Android Studio, and the emulator finally loaded!

这个安装实际上已经完成,并且安装成功了。然后我打开Android Studio,最后加载了模拟器!

So, for anyone else having this problem, just download the installer directly from the Intel website.

所以,对于任何有这个问题的人,只要直接从英特尔网站下载安装程序。

Here's the link:

这是链接:

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

#2


16  

I think your problem was that you thought that the installer in Android SDK Manager would actually INSTALL the Intel HAXM. But the hook is that it WILL NOT INSTALL it. What it does is extracts the files needed for (really) install Intel HAXM.

我认为您的问题是您认为Android SDK管理器中的安装程序实际上会安装Intel HAXM。但问题是它不会安装它。它所做的是提取安装Intel HAXM所需的文件。

I found that out when I got the same problem and then read this in Intel's web page:

当我遇到同样的问题时,我发现了这一点,然后在英特尔的网页上读到:

Downloading through Android* SDK Manager

通过Android* SDK管理器下载

... Other steps ...

…其他步骤……

5) The SDK Manager will download the installer to the "extras" directory, under the main SDK directory. Even though the SDK manager says "Installed" it actually means that the Intel HAXM executable was downloaded. You will still need to run the installer from the "extras" directory to get it installed.

5) SDK管理器将安装程序下载到主SDK目录下的“extras”目录。即使SDK管理器说“已安装”,它实际上意味着已经下载了Intel HAXM可执行文件。您仍然需要从“extras”目录运行安装程序才能安装它。

6) Run the installer inside the /sdk/extras/intel/Hardware_Accelerated_Execution_Manager/ directory and follow the installation instructions for your platform.

6)在/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/目录中运行安装程序,并遵循平台的安装说明。

So all I needed to do was go to folder where my Android SDK was, opened that folder (sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager) and run the silent_install.bat.

所以我需要做的就是打开Android SDK所在的文件夹(sdk_location/ SDK /extras/intel/ hardware_accelerator _execution_manager)并运行silent_install.bat。

After this when I launched my emulator, it said this:

在我启动模拟器之后,它说:

HAXM is working and emulator runs fast virt mode

HAXM正在工作,模拟器运行快速的virt模式

and everything works as should!

一切都正常运转!

You can also use some useful parameters with silent_install.bat:

您还可以使用silent_install.bat使用一些有用的参数:

  • -v Print HAXM version
  • - v HAXM打印版本
  • -c Check VT/NX capability of the platform
  • -c检查平台的性能。
  • -h Print usage
  • - h打印使用

#3


5  

I faced this problem.I got the solution too.It will work.

我面临这个问题。我也得到了答案。它将工作。

Step 1: Go to your BIOS settings and check that INTERNET VIRTUAL TECHNOLOGY is Enabled or Disabled.

步骤1:进入你的BIOS设置,检查网络虚拟技术是否启用或禁用。

And make sure HYPER V is disabled. To disable it : a)Go to Control Panel b)Click on Programs(Uninstall a Program) c)Then click on Turn Windows features on or off , then look for HYPER-V and untick it. And Restart. If disabled then enable it.

确保HYPER V被禁用。要禁用它:a)去控制面板b)点击程序(卸载程序)c)然后点击打开或关闭窗口功能,然后查找HYPER-V并取消它。并重新启动。如果禁用,那么启用它。

Step 2: Try to install Intel HAXM now and restart. If It shows same problem again. go to Step 3.

步骤2:尝试安装Intel HAXM并重新启动。如果它再次出现同样的问题。步骤3。

Step 3: You have to disable Digitally Signed Enforcement. To disable it permanently you have to make sure that Secure Boot option is disabled in your system.

步骤3:必须禁用数字签名的强制执行。要永久禁用它,您必须确保在系统中禁用了安全引导选项。

How to check ?

如何检查?

Answer is given in the following link. I found it in Internet.[Thanks whoever made that blog]

答案在下面的链接中给出。我在网上找到的。[谢谢写博客的人]

link : http://www.windowspasswordsrecovery.com/win8-tips/how-to-disable-uefi-secure-boot-in-windows-8-1-8.html

链接:http://www.windowspasswordsrecovery.com/win8 tips/how - -禁用uefi -安全-引导- - windows - 8 - 1 - 8. - html

Step 4: Now restart again.

步骤4:现在重新启动。

To disable driver signature enforcement permanently in Windows 10, you need to do the following:

要在Windows 10中永久禁用驱动程序签名,您需要执行以下操作:

1.Open an elevated command prompt instance. 2.Type/paste the following text:

1。打开一个升级的命令提示实例。2。类型/粘贴以下文本:

     bcdedit.exe /set nointegritychecks on

Windows 10 disable driver signature enforcement

Windows 10禁用驱动程序签名

Restart Windows 10.

重新启动Windows 10。

*If you somehow want to enable it again:

*如果您想再次启用它:

1.Type/paste the following text:

1。类型/粘贴以下文本:

     bcdedit.exe /set nointegritychecks off

#4


3  

dism.exe /Online /Disable-Feature:Microsoft-Hyper-V

or

bcdedit /set hypervisorlaunchtype off

Other things you may need to do:

你可能需要做的其他事情:

  • If using Avast? disable Enable hardware-assisted virtualization under: Settings > Troubleshooting
  • 如果使用停住吗?禁用启用硬件辅助虚拟化:设置>故障排除。
  • bcdedit /set nx AlwaysOn
  • bcdedit / nx AlwaysOn设置
  • sfc /scannow and reboot
  • 香港证监会/ scannow和重启

Important: After anything you try, Restart the PC and try to run the HAXM installation again

重要提示:在尝试之后,重新启动PC并再次运行HAXM安装

#5


1  

For HP Ultra book with windows 7 enabling hyper-v through bios worked for intel haxm problem.

对于惠普的Ultra book和windows 7通过bios支持hyper-v,解决了intel haxm问题。

For enabling hyper-v:-

为使hyper - v:-

F10-> Bios advanced setting-> device configurations->enable Hyper-V then install.

F10-> Bios高级设置->设备配置->支持Hyper-V然后安装。

It will work.

它将工作。

#6


1  

I've figured out. Try to disable Security Boot Control in BIOS options: http://remontka.pro/secure-boot-disable/ (sorry for russian examples) Or try to start system without Digital signature (only for one loading). I had had many unlucky attempts with 'HAXM installer, before I disabled this line. At the beginning I thought that's because Windows 10 Home was installed, and there're many limits.

我已经找到了。尝试在BIOS选项:http://remontka中禁用安全引导控制。pro/secure-boot-disable/(不好意思是俄罗斯的例子)或尝试在没有数字签名的情况下启动系统(仅用于一次加载)。在我禁用这行之前,我曾多次不幸地尝试使用“HAXM安装程序”。一开始我认为这是因为Windows 10 Home安装了,而且有很多限制。

#7


0  

Have you tried using Genymotion? If not then please give it a try. It will solve your purpose. Hope it helps :)

你试过用Genymotion吗?如果没有,请尝试一下。它将解决你的目标。希望它能帮助:)

Here are some useful links:

以下是一些有用的链接:

Genymotion

Genymotion

http://www.webupd8.org/2013/07/genymotion-fast-easy-to-use-android-x86.html

http://www.webupd8.org/2013/07/genymotion-fast-easy-to-use-android-x86.html

#8


0  

This is what worked for me -

这就是我的工作。

  1. Enable Virtualiztion through BIOS (F10-> System Configuration -> Virtualiztion Technology) Depending on your hardware, firmware and BIOS configuration utility the option to enable may be named something else or steps may differ. There is a free software called "Piriform Speccy" which gives information about your machine, which among other things can also be used to check if virtualization is enabled or not on your machine (see screen cap).
  2. 通过BIOS (F10->系统配置->虚拟化技术)启用虚拟化,这取决于您的硬件、固件和BIOS配置实用程序。有一个叫做“Piriform Speccy”的免费软件,它可以提供关于您的机器的信息,它还可以用于检查您的机器上是否启用了虚拟化(参见屏幕上限)。

Check if virtualization enabled with Speccy

  1. Download HAXM intaller from Intel site. https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

    从英特尔网站下载HAXM intaller。https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

  2. If using avast, disable "Enable hardware-assisted virtualization" under: Settings > Troubleshooting by unchecking.

    如果使用avast,请在:Settings >和uncheck进行故障排除下面禁用“启用硬件辅助虚拟化”。

Do a hard boot (power button) just to be safe.

为了安全,做一个硬启动(电源按钮)。

#9


0  

It should prompt you to install HAXM when creating a new virtual device:

在创建新的虚拟设备时,应该提示您安装HAXM:

Tools > Android > AVD Manager

It will install through Android Studio automatically.

它将通过Android Studio自动安装。

#10


0  

If you are using windows then edit your AVD config to ARMEABI image instead of X86, Also using ARM will give better performance. HAXM installer is required only if you use X86 image.

如果您正在使用windows,那么请将AVD配置编辑为ARMEABI映像,而不是X86,同样使用ARM将提供更好的性能。只有使用X86映像时才需要HAXM安装程序。

#11


0  

I think that you would install Android SDK files not in (your PC)\Appdata\Local\Android\sdk (default Path). Also there was nothing when you double click 'intelhaxm-android.exe' file.

我想你会在(你的PC)\Appdata\本地\Android\ SDK(默认路径)中安装Android SDK文件。当你双击“intelhaxm-android”时,也什么都没有。exe文件。

If it was, Browse (your PC)\Appdata\Local\Temp\intel\HAXM\6.0.3(yyyy-mm-dd_hh_mm_ss) (or silent), then you must see 'hax64' (or hax) file, and simply invoke this file.

如果是,浏览(您的PC)\Appdata\本地\Temp\ HAXM\6.0.3(yyyyy -mm- dd_hh_mm_mm_ss)(或静默),那么您必须看到“hax64”(或hax)文件,并简单地调用此文件。

#12


0  

Enter with Administrator user. First, you must enable it http://www.ghacks.net/2014/11/12/how-to-enable-the-hidden-windows-10-administrator-account/

输入管理员用户。首先,您必须启用它http://www.ghacks.net/2014/11/12/how-to-enable-the-hidden-windows-10 administrator-account/

Install it from C:\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager\intelhaxm-andoid.exe

Android安装在C:\ \ sdk \配件\ \ Hardware_Accelerated_Execution_Manager \ intelhaxm-andoid.exe英特尔

And login with your user. It work for me.

和你的用户登录。它为我工作。

#13


0  

Good description here: https://developer.android.com/studio/run/emulator-acceleration.html

好的描述:https://developer.android.com/studio/run/emulator-acceleration.html

You may check current HAXM status with following command:

您可以使用以下命令检查当前的HAXM状态:

sc query intelhaxm

sc查询intelhaxm

If you use Windows 10 Home, all issues about Hyper-V is irrelevant for you as it is not supported (Pro is required) and you will not have conflicts :)

如果你使用Windows 10 Home,所有关于Hyper-V的问题都与你无关,因为它不受支持(Pro是必需的),而且你不会有冲突:

Remark: trying to update HAXM to latest version incidentally removed it, but then can't update with SDK manager, as it shows that latest version 6.1.1 is unsupported for Windows (seems configuration is broken, found 6.1.1 for Mac and 6.0.6 for Windows only inside) So would recommend manually download HAXM and install as described: copy to sdk_location/sdk/extras/intel/Hardware_Accelerated_Execution_Manager and run the silent_install.bat

备注:试图更新HAXM最新版本偶然删除它,但是不能和SDK更新管理器,因为它显示了Windows,但是最新版本是不支持的(似乎配置坏了,里面只发现但是Mac和Windows 6.0.6)所以建议手动下载HAXM和安装所述:复制sdk_location / SDK /配件/英特尔/ Hardware_Accelerated_Execution_Manager并运行silent_install.bat

#14


0  

Option 1: Go to Android SDK Folder --> Extra --> Intel and double click on HAXM installer and install it manually.

选项1:进入Android SDK文件夹——> plus——> Intel,双击HAXM安装,手动安装。

Option 2: If you do not have latest version of HAXM then you can open sdk manager in android studio and download it.

选项2:如果您没有最新版本的HAXM,那么您可以在android studio中打开sdk管理器并下载它。

Option 3: Download HAXM intaller from Intel site. https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

选项3:从英特尔网站下载HAXM intaller。https://software.intel.com/en-us/android/articles/intel-hardware-accelerated-execution-manager

#15


-1  

If you are using windows, Hyper-V works via AMD not HAXM.

如果您正在使用windows, Hyper-V是通过AMD而不是HAXM工作的。

Try the following: on Android, Click SDK Manager ==>SDK Platforms ==> Show Packages ==>ARM EABI v7a Systems Image.

试试下面的方法:在Android上,点击SDK Manager ==>SDK平台==> Show package ==>ARM EABI v7a系统图像。

After downloading the systems image, go to the AVD Manager ==> Create Virtual Device ==> choose device (e.g. 5.4 FWVGA") ==> Marshmallow armeabi v7a Android6 with Google APIs ==> Change the AVD name to anything (eg. myfirst)==> click finish.

下载系统映像后,转到AVD Manager => Create Virtual Device => choose Device(如5.4 FWVGA) => Marshmallow armeabi v7a Android6,使用谷歌api ==>将AVD名称更改为任何内容(如:我)= = >点击finish。


推荐阅读
author-avatar
马彭的小窝
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有