android - 无法在 Android Studio 2.1.1 中运行 Android 模拟器

标签 android android-studio android-emulator haxm

一年后,我刚刚在运行 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

Intel HAXM installation error - This computer does not support Intel Virtualization Technology (VT-x)

最佳答案

您的机器甚至可能不支持虚拟化。
要解决此问题,您只需使用系统镜像 armeabi 运行模拟器。
转到您的 Android 虚拟设备管理器, 并创建一个新设备。选择您的硬件,然后单击下一步。在这里,选择 ABI 列为 “armeabi”“armeabi-v7a” 的系统镜像非常重要。它应该是这样的:enter image description here 继续执行这些步骤,您的模拟器应该可以正常工作和运行。

关于android - 无法在 Android Studio 2.1.1 中运行 Android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37211188/

相关文章:

android - 模拟器 : Error while connecting to socket '127.0.0.1:1970' : 111 -> Connection refused

android - Android Studio无法在模拟器上安装应用

android - 退出应用程序时关闭蓝牙

android - flutter 和 android gradle 错误 :Execution failed for task ':app:checkDebugDuplicateClasses'

android - 无法将库项目导入到 Android Studio 项目中

android - 类型不匹配 : inferred type is String? 但需要字符串 kotlin

java - EditText 变量未在另一个类中分配

java - Android - 构造函数 ImageAdapter(Tab2SalonActivity) 未定义

android studio 设计器预览 : how to include device frame?

模拟器中的 Android 平板电脑没有选择正确的布局