Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Virtual Device ERROR on Android Studio

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

That error :

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 :/

Note : Virtualization Technology is enabled and KVM is OK.

like image 691
OnlyM Avatar asked Aug 22 '18 08:08

OnlyM


1 Answers

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 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.

like image 141
Andrei Vinogradov Avatar answered Sep 21 '22 01:09

Andrei Vinogradov