本文介绍了Android Studio上的Android虚拟设备错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试打开虚拟设备时,我看到相同的错误.我该怎么办?

When I try the open Virtual Device, I see the same error. What can I do?

该错误:

Emulator: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]

我无法解决我的问题:/我昨天问过,但有人回答了:/

I can't fix my problem :/ I asked yesterday but anyone answer it :/

注意:已启用虚拟化技术,并且KVM正常.

Note : Virtualization Technology is enabled and KVM is OK.

推荐答案

此错误是指称为LZCNT的CPU功能.它是自Haswell(2013)起在Intel处理器中引入的,自2007年以来在AMD中引入.因此,如果您的CPU较旧或任何其他原因不支持LZCNT-您将收到此警告.您可以通过执行以下命令(Linux)检查您的CPU是否支持LZCNT指令:

This error is referring to CPU feature called LZCNT. It was introduced in Intel processors since Haswell (2013) and in AMD since 2007. So if your CPU is older or to any other reason does not support LZCNT - you will get this warning.You can check if your CPU support LZCNT instruction by executing the following command (Linux):

cat /proc/cpuinfo | grep abm

LZCNT不能直接检查,但是包含在ABM标志(高级位操作)中,该标志表示POPCNT和LZCNT都存在.因此,如果命令输出为空-不支持LZCNT.

LZCNT can not be checked directly but it is included in the ABM flag (Advanced Bit Manipulations) which indicates both POPCNT and LZCNT are present. So if command output is blank - LZCNT is not supported.

这篇关于Android Studio上的Android虚拟设备错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 16:05