emulator: ERROR: x86 emulation currently requires hardware acceleration!
2015-07-20 13:19
501 查看
Android Studio 1.0 已经放出来了,以后的Android平台开发激昂逐步从Eclipse向Android Studio迁移,为了能不落伍我也特意从Google下载了Android Studio的安装包,并且兴高采烈地创建了我的第一个android项目。但是当运行的时候就他么悲催了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/59d16eaa7dc3575c15f09356738281e9.png)
妈 妈的,模拟器居然启动不起来!
随随便便扔出这样一段话就了事!我就是想开一下模拟器用得着这样子对我吗?
好吧谁让我特能忍呢,迁移的路注定不会一帆风顺。报错信息告诉我说是 HAXM没有开,可是“HAXM”到底是什么呀?
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/052e600a29df83b999f1789a2abc295a.png)
这是Inter官网告诉我的,作用是管理硬件加速的,估计是用了这个东西模拟器就能告别Eclipse时代的龟速。
你也可以在Inter官网下载这个HAXM,当然Android
SDK已经集成了这个软件,你需要做的就是找到他,然后安装它就是了。
他的位置放在这个目录下:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/43e3f778215c55427ede5d55dd504aa0.png)
当然你的位置可能会不一样,如果找不到就没必要死磕开发了。
我的位置为:
C:\Users\peers\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
如果问题就这样解决了,那也太小儿科了吧;当我双击安装,问题又来了:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/05/862ab36d868f94b5706e7739353c7af7.png)
好吧,继续寻求帮助Inter官方的教程有这样一段话:连接地址:https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Intel VT-x not enabled
In some cases, Intel VT-x may be disabled in the system BIOS and must be enabled within the BIOS setup utility. To access the BIOS setup utility, a key must be pressed during the computer’s boot sequence. This key is dependent on which BIOS is used but it is
typically the F2, Delete, or Esc key. Within the BIOS setup utility, Intel VT may be identified by the terms "VT", "Virtualization Technology", or
"VT-d." Make sure to enable all of the Virtualization features.
意思是如果安装失败了,那多半是BIOS里面的“Virtualization Technology”选项没有打开,去BIOS里面打开就可以了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/b5a1964169a15e687ecc9f52ea62e26d.jpg)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/7c32032f93719302de27ca959d299892.jpg)
重新启动安装,就成功了!
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/5b78025a8bb3551e7d329a0895e1a106.png)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/6633719a90145b32cc3a48e00831817e.png)
让我们看看Android 5.0炫酷的界面吧:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/2951904cf179135627ef245cc12da710.png)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/59d16eaa7dc3575c15f09356738281e9.png)
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!
妈 妈的,模拟器居然启动不起来!
随随便便扔出这样一段话就了事!我就是想开一下模拟器用得着这样子对我吗?
好吧谁让我特能忍呢,迁移的路注定不会一帆风顺。报错信息告诉我说是 HAXM没有开,可是“HAXM”到底是什么呀?
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/052e600a29df83b999f1789a2abc295a.png)
这是Inter官网告诉我的,作用是管理硬件加速的,估计是用了这个东西模拟器就能告别Eclipse时代的龟速。
你也可以在Inter官网下载这个HAXM,当然Android
SDK已经集成了这个软件,你需要做的就是找到他,然后安装它就是了。
他的位置放在这个目录下:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/43e3f778215c55427ede5d55dd504aa0.png)
当然你的位置可能会不一样,如果找不到就没必要死磕开发了。
我的位置为:
C:\Users\peers\AppData\Local\Android\sdk\extras\intel\Hardware_Accelerated_Execution_Manager
如果问题就这样解决了,那也太小儿科了吧;当我双击安装,问题又来了:
![](https://oscdn.geek-share.com/Uploads/Images/Content/201909/05/862ab36d868f94b5706e7739353c7af7.png)
this computer meets the requirements for haxm but intel virtualization technology(VT-x) is not turned onHAXM cannot be installed until VT-x is enable
please refer to the intel HAXM documentation for more information
好吧,继续寻求帮助Inter官方的教程有这样一段话:连接地址:https://software.intel.com/en-us/android/articles/installation-instructions-for-intel-hardware-accelerated-execution-manager-windows
Intel VT-x not enabled
In some cases, Intel VT-x may be disabled in the system BIOS and must be enabled within the BIOS setup utility. To access the BIOS setup utility, a key must be pressed during the computer’s boot sequence. This key is dependent on which BIOS is used but it is
typically the F2, Delete, or Esc key. Within the BIOS setup utility, Intel VT may be identified by the terms "VT", "Virtualization Technology", or
"VT-d." Make sure to enable all of the Virtualization features.
意思是如果安装失败了,那多半是BIOS里面的“Virtualization Technology”选项没有打开,去BIOS里面打开就可以了。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/b5a1964169a15e687ecc9f52ea62e26d.jpg)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/7c32032f93719302de27ca959d299892.jpg)
重新启动安装,就成功了!
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/5b78025a8bb3551e7d329a0895e1a106.png)
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/6633719a90145b32cc3a48e00831817e.png)
让我们看看Android 5.0炫酷的界面吧:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202001/27/2951904cf179135627ef245cc12da710.png)
相关文章推荐
- UI开发中的辅助方法
- JAVA常用类之——String和String Builler
- C#环形列队CircularQueue.cs
- Android UI性能优化实战 识别绘制中的性能问题
- android 在子线程中操作UI 导致Fragment显示空白问题
- Codeforces 558D Guess Your Way Out! II (简单题)
- UIScrollerView滚动方向判断
- 阻塞队列BlockingQueue
- JS获取表单元素的value
- iphone-67-长按uitableview的row,实现reorder
- UITextView控件的用法详解
- [LeetCode][Java]Unique Binary Search Trees II
- Qt数据库:(三)利用QSqlQuery类执行SQL语句(一)
- CSS3 Media Query实现响应Web设计(宽度为不同的移动设备)
- UUID.randomUUID().toString()
- HDU3530 Subsequence(单调队列)
- iOS开发UI篇—从代码的逐步优化看MVC
- iOS之UITextField限制字数
- iOS UIDevice保存的信息
- selenium+testng实现简单的ui自动化测试