Android: Your CPU does not support VT-x

可紊 提交于 2019-12-10 13:17:18

问题


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?


回答1:


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.




回答2:


A solution from Android Studio documentation: If you have an AMD processor in your computer you need the following setup requirements to be in place:

  1. AMD Processor – Recommended: AMD® Ryzen™ processors
  2. Android Studio 3.2 Beta or higher – download via Android Studio Preview page
  3. Android Emulator v27.3.8+ – download via Android Studio SDK Manager x86 Android Virtual Device (AVD) – Create AVD
  4. Windows 10 with April 2018 Update
  5. Enable via Windows Features: “Windows Hypervisor Platform”.

Restart your system. For more visit: Android: Your CPU does not support VT-x



来源:https://stackoverflow.com/questions/39647841/android-your-cpu-does-not-support-vt-x

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!