问题描述
我知道这里有很多类似的问题,而且我是Android世界的新手.尝试运行应用程序(Shift + F10)时出现以下错误
I know there are a lot of similar questions out there, and I am new to Android world. I get the following errors as I try to run app (Shift + F10)
运行此AVD需要Intel HAXM.
Intel HAXM is required to run this AVD.
您的CPU不支持VT-x.
Your CPU does not support VT-x.
很遗憾,您的计算机不支持硬件加速的虚拟化.
Unfortunately, your computer does not support hardware accelerated virtualization.
以下是您的一些选择:
-
用户使用物理设备进行测试
User a physical device for testing
在具有支持VT-x和NX的英特尔处理器的Windows/OSX计算机上进行开发
Develop on a windows/osx computer with an intel processor that supports VT-x and NX
在支持VT-x或SVM的Linux计算机上进行开发
Develop on a linux computer that supports VT-x or SVM
使用基于ARM系统映像的Android虚拟设备(这比硬件加速的虚拟化要慢10倍)
Use an Android Virtual Device Based on an ARM system image(This is 10x slower that hardware accelerated virtualization)
当我在这台计算机上执行dxdiag(Windows 10)时,得到以下信息.它长,但系统信息如下.我无法确定我的PC是否可以用于开发android应用程序.有人可以帮帮我吗?开发Android应用程序是否需要虚拟化?
When I do dxdiag on this computer(windows 10) I get the following. Its long but the system information is as below. I am not able to determine if my PC can be used to develop android application. Can someone please help me? Is virtualization required to develop android apps?
在此处建议我们必须在BIOS中启用VT-x,但我在BIOS中看不到任何此类内容.有没有办法摆脱我的困境?
In here it is suggested that we have to enable VT-x in bios, but I dont see anything of that sort in my bios. Is there a way out of my predicament?
Time of this report: 12/29/2016, 15:24:38
Machine name: DESKTOP-DTQ75J3
Machine Id: {8D78413A-33B7-4359-BB61-8841CC747D2C}
Operating System: Windows 10 Enterprise 64-bit (10.0, Build 14393) (14393.rs1_release_inmarket.161208-2252)
Language: English (Regional Setting: English)
System Manufacturer: Gigabyte Technology Co., Ltd.
System Model: G41M-Combo
BIOS: Award Modular BIOS v6.00PG
Processor: Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz (2 CPUs), ~2.8GHz
Memory: 4096MB RAM
Available OS Memory: 4060MB RAM
Page File: 4199MB used, 2548MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 12
DX Setup Parameters: Not found
User DPI Setting: Using System DPI
System DPI Setting: 96 DPI (100 percent)
DWM DPI Scaling: Disabled
Miracast: Not Available
Microsoft Graphics Hybrid:不支持 DxDiag版本:10.00.14393.0000 64位Unicode
Microsoft Graphics Hybrid: Not Supported DxDiag Version: 10.00.14393.0000 64bit Unicode
推荐答案
使用ARM而不是HAXM制作AVD-
Make an AVD With ARM Instead of HAXM -
- 转到工具-> Android-> AVD管理器
- 点击创建虚拟设备"
- 从列表中选择要使用的设备(即Nexus 5),然后单击下一步".
- 在这里,您会得到android发行版本的列表.查看"ABI"列.无论您想要哪种API级别,都可以找到"Armeabi-v7a" ABI.
- 点击下一步"并根据需要修改名称/大小,完成后单击完成".
礼貌: user2636417对"Android Studio-如何使用ARM代替HAXM制作AVD的答案?"
这篇关于需要Intel HAXM才能运行此AVD您的CPU不支持VT-x的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!