Hardik Chauhan
Hardik Chauhan

Reputation: 61

Android: Your CPU does not support VT-x

Your CPU does not support VT-x. Intel HAXM is required to run this AVD. Your CPU does not support VT-x.

Unfortunately, your computer does not support hardware accelerated virtualization. Here are some of your options: 1) Use a physical device for testing 2) Develop on a Windows/OSX computer with an Intel processor that supports VT-x and NX 3) Develop on a Linux computer that supports VT-x or SVM 4) Use an Android Virtual Device based on an ARM system image (This is 10x slower than hardware accelerated virtualization)

What do I do to get around this limitation?

screenshot

Upvotes: 6

Views: 33163

Answers (3)

TOPKAT
TOPKAT

Reputation: 8698

2024 Up to date solution for apple M1 / M2 users

Android emulator is now compatible with arm processor out of the box.

But when you create a new emulator, not all emulator and system images in the list are arm compatible. Make sure you make the right choice (see screenshot above)

enter image description here

Upvotes: 0

Rajneesh Shukla
Rajneesh Shukla

Reputation: 1402

If you are facing this issue with Mac M1 then just download Emulator provided by google and install it manually.

https://androidstudio.googleblog.com/2020/12/android-emulator-apple-silicon-preview.html

Watch this youtube video for reference -
https://www.youtube.com/watch?v=mEKHrpV3LEQ

Upvotes: 0

Maxim
Maxim

Reputation: 53766

According to Android Documentation, to run an emulator the development system's CPU should support one of the following virtualization extensions technologies:

  • Intel Virtualization Technology (VT, VT-x, vmx)
  • AMD Virtualization (AMD-V, SVM) -- only supported for Linux

Your CPU is Intel Pentium B940, which according to the manufacturer does not support Intel Virtualization Technology (VT-x). That's the reason for this error.

The workaround is to use an alternative Android Emulator, e.g. Genymotion.

Upvotes: 2

Related Questions