Lỗi vt-x is disabled in bios android studio

Lỗi This Host Supports Intel Vt-X But Intel Vt-X Is Disabled là một trong các lỗi thường gặp trong khi bạn tạo máy ảo Windows, Linux hay bất kỳ các hệ điều hành nào khi bạn tạo máy ảo trong Vmware Workstation. Vậy lỗi này là lỗi gì ? Cách sửa như thế nào ? Trong bài viết này Athena sẽ hướng dẫn các bạn cách fix lỗi This Host Supports Intel Vt-X But Intel Vt-X Is Disabled.

Lỗi vt-x is disabled in bios android studio

Lỗi This Host Supports Intel Vt-X But Intel Vt-X Is Disabled là do tính năng VT-x (tính năng ảo hóa phần cứng giúp tăng tốc các máy ảo được tạo trong VirtualBox, VMware, Hyper-V và các ứng dụng khác trên máy tính) không được bật.

2. Cách sửa lỗi This Host Supports Intel Vt-X But Intel Vt-X Is Disabled

Để fix lỗi This Host Supports Intel Vt-X But Intel Vt-X Is Disabled bạn thực hiện các bước sau:

Bước 1: Khởi động lại máy tính của mình và vào BIOS Setup. Để vào được BIOS Setup thì bạn cần nhấn phím tắt trên bàn phím khi máy vừa khởi động lên. Bạn có thể vào BIOS Setup với các phím tắt của các dòng máy dưới đây

Lỗi vt-x is disabled in bios android studio

Phím tắt vào BIOS của các dòng máy

Bước 2: Truy cập vào chức năng Virtualization (thông thường nằm mục Security, Virtualization Support hoặc ở mục Configuration)

Bước 3: Tiếp theo, bạn hãy tìm đến 2 mục Intel (R) Virtualization Technology và Intel (R) VT-d Feature

Lỗi vt-x is disabled in bios android studio
Bước 4: Ở đây 2 mục chức năng đang ở chế độ Disable thì bạn hãy chuyển sang chế độ Enable để bật các tính năng đó lên.

Bước 5. Cuối cùng thì bạn hãy nhấn phím F10 để lưu các cài đặt lại và khởi động lại máy của mình. Sau khi khởi động lại máy thì bạn hãy mở máy ảo Vmware Workstation hay VirtualBox lên để tiến hành tạo các máy ảo thôi.

3. Tóm lại

Ở cách trên thì Athena đã hướng dẫn các bạn cách sửa lỗi This Host Supports Intel Vt-X But Intel Vt-X Is Disabled. Chúc các bạn thành công.

When a newbie tries to set up the Android Studio for the first time, the users will face this error, and this kind of error normal for the geeky guy or tech guru, But for beginner people, this is a tedious task. Let’s break down all the related words and try to put some light on these techie things. Let’s get started now.

What’s Vt-x?

Vt-x is the Intel Virtualization Technology. And this helps to run multiple Operating Systems on a computer simultaneously. In the intel processors, it’s referred to as Vt-x but in the case of AMD processors, we will see AMD-V or Hyper-V (specially ryzen processors ) technologies. So these all things are Virtualization technology and they help to run different os instance in our system at a time. For example to run VirtualBox or VMware we have to enable it. Because in these types of software we install some different os virtually and run them. Here we do not install those operating systems in our hard drive we just install those os instances virtually in VMware or VirtualBox and run these operating systems independently and at the same time.

Why we have to enable vt-x in BIOS Security Settings in Android Studio?

Yeah, we get that what is vt-x and all those technologies but the question is why we need to enable it for Android. If you have that question in your mind, let me clarify that as we have discussed above to run any os virtually we need to enable virtualization technology that may be vt-x or AMD-v, or HyperV. In case if you don’t know AVD(Android Virtual Device) is also a virtual machine that runs Android os. I think now you get clear. Android is nothing but an os and to run that we need a virtual machine and that machine or software is AVD. And to run AVD we need to enable virtualization(Vt-x / AMD-V / HyperV).

What are the problems you will face?

When you download Android Studio and try to create an emulator in AVD manager or download an instance of Android OS like lollipop or Nougat or marshmallow version. You will face errors like these.

Note: This article will help if you have an intel processor. If you have an AMD processor in your system please avoid following these steps. If you have an AMD processor then the errors will different and we will discuss that in the next article.

If you look properly you can see Vt-x disable in the bios. These images are some examples of errors you will face.

Lỗi vt-x is disabled in bios android studio
Lỗi vt-x is disabled in bios android studio

If you get these errors do not panic. You can easily solve it following few steps.

How to fix the issue?

Step 1: Check virtualization is enable or not

Hit the windows button or windows icon search for task manager. Click the Task Manager.

Click on the performance.

Lỗi vt-x is disabled in bios android studio

Now you can check that Virtualization is enabled or not, In my case, this is enabled but in your case, it will be disabled. Now to enable that follow the below steps.

Step 2: Restart your pc

Now press the Windows button on your keyboard or click the windows icon on your screen and click on the setting icon Or you can search the setting in the search bar near the windows icon. Now click on Update & security.

Lỗi vt-x is disabled in bios android studio

Now click on recovery from the left side panel and click on the restart now button

Lỗi vt-x is disabled in bios android studio

Now click on the troubleshoot.

Lỗi vt-x is disabled in bios android studio

Now click on the advance option.

Lỗi vt-x is disabled in bios android studio

Now click on the UEFI Firmware Settings

Lỗi vt-x is disabled in bios android studio

Now click on restart.

Lỗi vt-x is disabled in bios android studio

Step 3: Update virtualization in BIOS

This is the trickiest part, while restarting you have to enter into the BIOS setting of your PC. Different PC brands have different shortcuts, here I am giving few examples,

  • ASUS: F2 for all PCs, F2 or DEL for Motherboards
  • Acer: F2 or DEL
  • Dell: F2 or F12
  • HP: F10
  • Lenovo: F2 or Fn + F2

(You will get F1, F2, F3 functional keys above the number keys in your keyboard).

After getting into the BIOS setting u will see a screen like this.

Lỗi vt-x is disabled in bios android studio

You can see something like this, now press F10 to get into the Bios setting.

Lỗi vt-x is disabled in bios android studio

Now by pressing the right arrow key you have to select the system configuration tab.

Lỗi vt-x is disabled in bios android studio

Now just select the Virtualization technology by pressing the down arrow key and hit enter key to enable it.

Lỗi vt-x is disabled in bios android studio

Now press F10 to save & exit and hit enter. Now the system will automatically boot up. You can check in your setting your virtualization is enabled. Now try to download or open the emulator in Android studio and you can see your screen.

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!