一年后,我刚刚在运行 Windows 7 32 位的同一台 PC 上重新安装了 Android Studio 2.1.1。除了模拟器之外的一切都完美运行。
AVD 管理器显示一条错误消息:/dev/kvm is not found。
当我点击疑难解答按钮时,它显示
Enable VT-x in your BIOS security settings, ensure that your Linux distro has working KVM module.
此外,当我尝试运行模拟器时,会弹出一个错误提示
Intel HAXM is required to run this AVD.
/dev/kvm is not found.
Enable VT-x in your BIOS security settings, ensure that your Linux distro has working KVM module.
我已禁用 VT-x,但我在我的 PC 上的任何地方都找不到 Hyper-V。 已安装 Intel x86 仿真器加速器(HAXM 安装程序)。 在网上寻找解决方案后,我尝试使用他们网站 (Installer) 上提供的安装程序手动安装 HAXM,但我收到一条错误消息
Failed to configure driver: unknown error. Failed to open driver
以下是我提到的一些 StackOverflow 问题:
Android Emulator Error in windows
HAXM installed successfully, but not recognized by Android Studio 2.1
最佳答案
您的机器甚至可能不支持虚拟化。
要解决此问题,您只需使用系统镜像 armeabi 运行模拟器。
转到您的 Android 虚拟设备管理器, 并创建一个新设备。选择您的硬件,然后单击下一步。在这里,选择 ABI 列为 “armeabi” 或 “armeabi-v7a” 的系统镜像非常重要。它应该是这样的:
继续执行这些步骤,您的模拟器应该可以正常工作和运行。
关于android - 无法在 Android Studio 2.1.1 中运行 Android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37211188/