teenup
teenup

Reputation: 7667

Your device does not support vt-x

I am beginning to learn android development and using Oracle VirtualBox Machine for setting up the environment to develop.

I have installed the Android Studio, but when I try to create a Virtual Device after clicking on the AVD Manager and selecting the Virtual Device, I get an error that says - Your CPU does not support vt-x

I have checked in the settings of the Oracle Virtual Box Machine and it is enabled there as shown below:

enter image description here

Also, my system supports the Virtualisation as identified below by Intel Utility:

enter image description here

Please help, I am stuck at this point and can't continue my learning.

Upvotes: 1

Views: 2084

Answers (1)

not2qubit
not2qubit

Reputation: 16912

The short answer (today) is that VirtualBox does not support running AVD inside a VM. Of course, this is of course a serious failure from the VB producers/developers side, because this is what most sane Android developers would want to do.

So for the normal android developer this is a complicated (technical) issue that is very poorly documented and explained. Rightly the settings screenshot in OP make you believe that it should work. But scouring the VB forums, you will only find rude and misleading answers, asking users to RTFM chapter 10.4 which is supposed to describe what is possible. However, and unfortunately, this is written in incomprehensible technical jargon/terms.

But apparently VMWare does allow for better virtualization that is compatible with AS, as briefly mentioned here. But other posts, say that newer versions of AS doesn't support that either. So apparently we can't blame it all on the VM producers, but also on Google for stopping to support these technologies.

One may wonder why bother with any VM, if you can't run the most common tools on it. Which by far would be AS.

Upvotes: 1

Related Questions