英特爾虛擬化問題 (Android Studio) (Intel Virtualization Problems (Android Studio))


問題描述

英特爾虛擬化問題 (Android Studio) (Intel Virtualization Problems (Android Studio))

所以,我正在嘗試使用 Android Device Emulator (AVD),但它有一個典型的錯誤:“未安裝 hax 內核模塊”。但是,我重裝了數十次 Intel HAXM 1.1.5。我在 BIOS 中啟用了該選項,並且可以在 Oracle VM VirtualBox 中使用虛擬化。我什至下載了一個程序來測試我的 PC 是否支持虛擬化,然後訪問 Intel 網頁查看我的處理器是否能夠做到這一點。可以。

我不知道為什麼這會給我帶來這樣的問題。我嘗試了很多視頻並再次搜索和搜索,但似乎沒有人遇到與我相同的問題。但是,我注意到當我嘗試運行“sc query intelhaxm”時,它總是說它沒有安裝(錯誤代碼 1060)。我總是在安裝 HAXM 後重置我的電腦。


參考解法

方法 1:

Have you used the command lines bcdedit /set hypervisorlaunchtype off bcdedit /set nx AlwaysOn Turned off avast if you have it Downloaded the HAXM from Intel and not thru AVD https://software.intel.com/en‑us/android/articles/intel‑hardware‑accelerated‑execution‑manager‑end‑user‑license‑agreement

方法 2:

So, I kinda found a solution that lets me use the service intelhaxm. I just can't find a place where someone did what I did. Anyway, I'm going to post my solution, for other persons with the same problem as me don't get the trouble I had. So:

Before I say anything, I'm using Windows 7 and I'm portuguese, so I'm guessing the name of the directory's/options:

  • Install the Intel HAXM normally and then restart your computer.
  • After that, browse to the Intel HAXM folder ("C:\Program Files or Program Files (x86)\Intel\HAXM").
  • Right click in the window while holding Shift. Click on "Open command prompt here".
  • Write "PnPUtil.exe ‑i ‑a intelhaxm.inf". If it asks you to accept it, click OK.
  • After that, right click in the intelhaxm.inf file and select Install.
  • At this point, if you type "sc query intelhaxm" in the command prompt, it should show info about the service. However, it doesn't have a certificate, and you can't still use it.
  • Download Driver Signature Enforcement Overrider here.
  • Open it, select "Enable Test Mode" and press Next. After it's done, restart your computer.
  • If you did everything correct, there should be a watermark at the desktop saying something like "Test Mode". Open the same program again, but now select "Sign a System File".
  • In the text field, paste the complete path to the intelhaxm.sys. Something like this: "C:\Program Files or Program Files (x86)\Intel\HAXM\intelhaxm.sys".
  • After that, open the command prompt again the same way you did above.
  • Type "sc delete intelhaxm" and then install the .inf file the same way you did.
  • Now, try to type "sc start intelhaxm". It takes more time than usual, but now it should be running.

This is what I did to get it working. However, it only works while Windows is in Test Mode. If you want to get rid of the watermark, launch the same program again and choose "Remove Watermark".

If after you turn off the computer and go back later you can't launch your AVD, type "sc start intelhaxm" in the search bar of the Start Menu.

(by Ric SubtilcodecatsRic Subtil)

參考文件

  1. Intel Virtualization Problems (Android Studio) (CC BY‑SA 2.5/3.0/4.0)

#virtualization #intel #Android #cpu






相關問題

需要一個好的 Internet Explorer 6、7、8 獨立版 (Need a good Internet Explorer 6, 7, 8 standalone)

英特爾虛擬化問題 (Android Studio) (Intel Virtualization Problems (Android Studio))

VirtualMachine 的第一條指令是如何獲取的(在 KVM-QEMU 中) (How is the first instruction of VirtualMachine is fetched (in KVM-QEMU))

如何使用 SharePoint、K2 和域控制器複製虛擬 PC (How to duplicate a virtual PC with SharePoint, K2 and domain controller)

WPF數據虛擬化ListView (WPF Data virtualizing ListView)

製作linux系統的“副本” (Make a "copy" of linux system)

在虛擬機中模擬 Windows 筆記本電腦? (Simulating windows laptop in virtual machine?)

為“假 Mac OS X”虛擬化構建 Windows XP 或 7 (Skeletoning Windows XP or 7 for "fake Mac OS X" virtualization)

在虛擬機中開發 Java 有什麼好處嗎? (Are there any benefits to developing Java in a virtual machine?)

Xen ABI 是真正的 ABI 嗎? (is the Xen ABI a true ABI?)

在使用 qemu kvm 安裝 VM 之前更改 VM 的磁盤大小 (Changing Disk Size of VM before VM installation using qemu kvm)

Qemu 在 Windows 上運行時無法加載 bios-256k.bin (Qemu can't load bios-256k.bin when running on Windows)







留言討論