Android Studio模拟器错误(需要Intel HAXM/未安装模拟器)

Android Studio模拟器错误(需要Intel HAXM/未安装模拟器)

问题描述:

我刚刚将我的Android API更新为25,并且我的模拟器此后停止了工作.当我尝试运行仿真器时,它弹出错误消息运行此AVD需要Intel HAXM.未安装仿真器.请下载仿真器"(如下所示),并且Event Log打印出错误运行应用程序" :此版本的Android Studio与所使用的Gradle插件不兼容.请尝试禁用即时运行(或将IDE或Gradle插件更新为最新版本)".

I just updated my Android API to 25, and my emulators have since stopped working. When I try to run my emulator, it gives me the error "Intel HAXM is required to run this AVD. No emulator installed. Please Download the emulator" as a popup (shown below) and the Event Log prints out "Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)".

让我感到困惑的是,我已经通过设置关闭了Instant Run,并且已经在SDK Tools中下载了Intel x86 Emulator.

What I am confused about is that I have turned off Instant Run via settings and I have downloaded the Intel x86 Emulator in SDK Tools.

错误:

SDK管理器:

即时运行:

SDK管理器仅下载Intel HAXM安装程序,但在许多情况下不进行实际的应用程序安装.

The SDK manager only downloads the Intel HAXM installer, but does not do the actual application installation in many cases.

转到{SDK location}/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/并从那里运行MSI安装程序.

Go to {SDK location}/sdk/extras/intel/Hardware_Accelerated_Execution_Manager/ and run the MSI installer from there.

此外,您还必须在计算机的BIOS中启用VTX扩展.

Additionally you have to enable VTX extensions in your BIOS on the computer.