AMD处理器下AVD仍提示需安装Intel HAXM的解决方法咨询
Got it, let's tackle this frustrating HAXM error you're seeing even though you're using an AMD processor and have the correct hypervisor driver installed. I’ve dealt with this exact mismatch before, so here’s a step-by-step breakdown of what to try:
Verify the AMD Hypervisor Driver is running properly
First, confirm the driver is installed and active:- Open Control Panel > Programs > Programs and Features and check for "Android Emulator Hypervisor Driver for AMD Processors (installer)" in the list.
- Launch Command Prompt as Administrator and run:
sc query amdhyperv
You should see a state of "RUNNING". If not, start the service with:sc start amdhyperv - Double-check Windows Features: Go to Control Panel > Programs > Turn Windows features on or off and ensure both Hyper-V and Windows Hypervisor Platform are checked (even if you enabled them before, sometimes settings don’t stick).
Fix your AVD’s virtualization configuration
Sometimes the AVD defaults to looking for HAXM even with AMD hardware. Edit your AVD:- Open the AVD Manager in Android Studio, click the pencil icon next to your device.
- Under Emulated Performance, set Graphics to "Hardware - GLES 2.0" (or higher).
- Click Show Advanced Settings, scroll to the Virtualization section, and set it to "Automatic" (or explicitly select the AMD hypervisor option if available). Save the changes and try launching the emulator again.
Double-check BIOS virtualization settings
Your A6-5200 supports AMD-V, but let’s confirm the BIOS settings are fully enabled:- Restart your PC and enter BIOS (usually by pressing F2, Del, or F10 during boot—check your PC’s splash screen for the key).
- Look for options named SVM Mode (AMD’s equivalent of Intel’s VT-x), Virtualization Technology, or AMD-V and ensure it’s turned on.
- If you see options for IOMMU or Virtualization for I/O Devices, enable those too—they help with hypervisor compatibility.
Repair Android Studio’s emulator components
Corrupted installations can cause this mismatch. Let’s reinstall the relevant components:- In Android Studio, go to Tools > SDK Manager > SDK Tools.
- Uncheck "Android Emulator" and "Android Emulator Hypervisor Driver for AMD Processors", click Apply to uninstall them.
- Restart Android Studio, go back to SDK Tools, re-check those two components, and install them again.
Clean up any leftover HAXM files
If you ever installed HAXM by mistake (even a partial install), it might be conflicting:- Go to Programs and Features and uninstall any "Intel Hardware Accelerated Execution Manager" entries.
- Delete the HAXM installation folder (usually located at
C:\Program Files\Intel\HAXM). - If the uninstaller is still present, run
C:\Program Files\Intel\HAXM\uninstall.exeto fully remove it.
Confirm Windows version compatibility
The AMD hypervisor driver requires Windows 10 1903 (64-bit) or later. If you’re on an older version, update Windows to the latest compatible build—this can resolve hidden compatibility issues.
After trying all these steps, restart your PC and launch the emulator again. In most cases, one of these fixes will resolve the HAXM error and let your AMD-powered AVD run properly.
内容的提问来源于stack exchange,提问作者gbenga ogunbule

