Android emulator error: x86 emulation currently requires hardware acceleration的解决方案
转载自:http://qa.blog.163.com/blog/static/190147002201561264746235
一、问题描述
在自学android过程中遇到一个问题:
安装配置好android studio,新建了一个简单的应用后,想启动AVD,运行Android emulator时出现了如下的错误:
>emulator: ERROR: x86 emulation currently requires hardware acceleration! >Please ensure Intel HAXM is properly installed and usable. >CPU acceleration status: HAX kernel module is not installed!
在stackoverflow中查到是由于Intel x86 Emulator Accelerator(HAXM installer)没有下载安装。如下所示:
下载安装后还是出现同样错误:
>emulator: ERROR: x86 emulation currently requires hardware acceleration! >Please ensure Intel HAXM is properly installed and usable. >CPU acceleration status: HAX kernel module is not installed!
进一步找到原因是:没有安装intelhaxm-android.exe,所在目录为:
{SDK_FOLDER}\extras\intel\Hardware_Accelerated_Execution_Manager\ intelhaxm-android.exe。
当在安装intelhaxm-android.exe过程中出现错误:Virtualization (VT-x)没有开启,安装intelhaxm-android.exe失败的提示信息。最终费劲周折才找到,需要到PC BIOS设置模式下才能开启VT-x。
二、软件Speccy介绍
为了查看本机Virtualization (VT-x)是否开启可以通过软件speccy进行查看,软件speccy下载地址为:http://filehippo.com/zh/download_speccy/
安装speccy,打开speccy界面如下图所示:
点击CPU,此时可以看到CPU中的Virtualization 处于Disabled状态。就是这个原因导致intelhaxm-android.exe安装失败。
三、如何开启Virtualization (VT-x)
1.重启电脑在开机之前按F2键,进入BIOS设置模式,如下图所示,点击BIOS Features,进入BIOS设置模式,此时可以看到Intel Virtualization Technology处于Disabled模式。
2.双击Disabled,会弹出一个对话框,双击选择Enabled,此时Intel Virtualization Technology处于Enabled模式。
3.保存设置,点击右上角的Save&Exit,双击并选择Save&Exit Setup,在弹出的对话框选择Yes,完成保存,此后PC会启动。开机后打开speccy,此时可以看到CPU中的Virtualization 处于Enabled状态。
至此Virtualization (VT-x)开启成功,intelhaxm-android.exe安装成功,问题得以解决。
以上问题解决后,再次运行emulator,出现如下错误:HAX is not working and emulator runs in emulation modeemulator: device fd:760emulator: The memory needed by this AVD exceeds the max specified in your HAXM configuration.emulator: AVD RAM size = 1536 MBemulator: HAXM max RAM size = 1024 MBemulator: You might want to adjust your AVD RAM size and/or HAXM configuration to run in fast virt mode.emulator: warning: opening audio input failedcreating window 61 83 462 820emulator: emulator window was out of view and was recentered可以看到emulator: AVD:RAM size = 1536 MB,emulator: HAXM max RAM size = 1024 MB,RAM大小不匹配。解决方案:重新安装 intelhaxm-android.exe,将RAM改为1536 即可。如下图所示:至此,Android emulator 可以顺利运行。
转载于:https://www.cnblogs.com/springxie/p/4742100.html
Android emulator error: x86 emulation currently requires hardware acceleration的解决方案相关推荐
- 运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration!
运行android模拟器,emulator: ERROR: x86 emulation currently requires hardware acceleration! 问题: 运行android模 ...
- emulator: ERROR: x86 emulation currently requires hardware acceleration!
Android Studio 1.0 已经放出来了,以后的Android平台开发激昂逐步从Eclipse向Android Studio迁移,为了能不落伍我也特意从Google下载了Android St ...
- emulator: ERROR: x86 emulation currently requires hardware acceleration!Please ensure Intel HAXM is
转自VC错误:http://www.vcerror.com/?p=1665 问题描述: Android Studio 1.0 已经放出来了,以后的Android平台开发激昂逐步从Eclipse向And ...
- Android Studio开启虚拟机报错!emulator: ERROR: x86 emulation currently requires hardware acceleration!解决办法梳理
1.如果确认电脑没有开启Intel Virtualization Technology,那么先进BIOS里开启,然后再进行如下步骤,如果不确认,进入第二步. 2.到Android SDK的安装路径下, ...
- emulator: ERROR: x86 emulation currently requires hardware acceleration 启动模拟器异常
1.安装错误:需要操作一下步骤:BOIS–>Security–>Virtualization ,disable->enable 保存退出重启 2.在sdk\extras\intel\ ...
- ERROR: x86 emulation currently requires hardware acceleration!
问题: 在windows系统下,用VMware搭建Ubuntu系统,在Ubuntu中搭建安卓emulator,启动emulator时报错: ERROR: x86 emulation currently ...
- Emulator: emulator: ERROR: x86_64 emulation currently requires hardware acceleration!
今天在运行程序的时候出现ERROR: x86_64 emulation currently requires hardware acceleration!这个问题,通过多次尝试发现按照如下步骤可以解决 ...
- Android Studio 模拟器无法启动问题(x86 emulation currently requires hardware acceleration。。。)
很早之前就碰到过Android Studio模拟器无法启动的问题,今天终于尝试去解决了下,下面将我解决的方法记录下. 模拟器报错信息为: emulator: ERROR: x86 emulation ...
- Android Studio模拟器打不开Emulator: emulator: ERROR: x86_64 emulation currently requires hardware accelera
Emulator: emulator: ERROR: x86_64 emulation currently requires hardware accelera Emulator: Process f ...
最新文章
- 剑指offer:面试题35. 复杂链表的复制
- 深蓝学院《从零开始手写VIO》作业五
- udp和tcp是服务器响应,HTTP,TCP,UDP的理解和使用
- linux下编辑aacc.sh脚本命令,Shell命令实战详解
- ?: (staticfiles.E002) The STATICFILES_DIRS setting should not contain the STATIC_ROOT setting.
- [lighttpd] lighttpd的安装配置。。。
- c# export server 调用sql_C#调用SQL Server参数过程传参
- 使用和执行SQL Server Integration Services包的方法
- 数字图像处理与python实现 pdf_python数字图像处理的学习路线?
- String、Path、File、Directroy 常用方法总结
- Spring Boot与Docker(一):微服务架构和容器化概述
- Janis—CCR闭循环系列探针台
- 选择排序、json对象、indexof、回调函数、ES5新增遍历函数、字符串定义、asc码表、字符串API
- 电脑cpu测试软件 95,用Prime95测试cpu性能稳定性的方法
- Everything软件配置
- 指针 上 :什么是指针,指针类型,指针运算等等
- 未来十大最热门职业,可能消失的职业
- Windows Terminal 配置GIT
- element组件树形控件el-tree点击展开节点,节点重影
- 标准化、归一化、规范化区别
热门文章
- 问题 C: 编写函数:字符串的复制 之一 (Append Code)
- CMake使用详解一(单文件编译)
- ajax响应码,jQuery 使用$ .ajax()处理HTTP响应代码
- 金蝶移动bos开发教程_求助临沂金蝶k3,kis,eas软件各版本优势
- 修改smb默认端口_centos7 ssh端口更改方法
- textview文字链接无法点击
- 软件测试入门笔记(一)
- 06Matplotlib数据可视化--6.1绘图基础
- 著名加密艺术家XCOPY的NFT作品以1000ETH售出,约合173.5万美元
- SAP License:SAP合同类型的使用