-3

i cannot open AVD in android studio, firstly it gave me error as NX is disable in bios and i enabled it. Now it is showing me as VT-x is disabled, enable it, Please help in this errors!

2 Answers2

0

Simple.. Follow this link link 1 Youtube

and this one stack overflow

Community
  • 1
  • 1
Tapan Kumar Patro
  • 767
  • 1
  • 7
  • 18
0

Open your BIOS setting enabled the Virtualization(VT) in BIOS settings

some antivirus options also prevent HAXM installation. For example: In Avast antivirus under Settings (parametres) tab > Troubleshooting , you should uncheck "Enable Hardware-assisted Virtualization" & "Enable avast self-defense module".

Control Panel -> "Programs" -> "Turn Windows features on or off" (under "Programs and Features") and locate "Hyper-V", uncheck, reboot.

Important Go to MyPC / right click / Advanced System Settings / Advanced / In Performance click SETTINGS / Data Execution Prevention and enable DEP for all programs and services.

for kvm

Use the below command to check whether the KVM is installed in the machine or not,

kvm-ok Output:

INFO: /dev/kvm exists KVM acceleration can be used Output like the below means,

INFO: Your CPU does not support KVM extensions KVM acceleration can NOT be used In this scenario need to install KVM using the below command,

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils

Digvijay Singh
  • 623
  • 9
  • 26
  • I enabled that all sir but a dialog box is welcomed when i opened AVD like this: "Intel HAXM is required to run this AVD. /dev/kvm is not found. EnableVT-x in your bios security settings, ensure that your Linux distro has working KVM module". I cannot understand that at all, please help me to work AVD. – ShivA VidEoS TuBe Mar 17 '17 at 07:37
  • @ShivAVidEoSTuBe have u enabled virtualization in your bios – Digvijay Singh Mar 17 '17 at 08:16
  • Yes sir i enabled it. – ShivA VidEoS TuBe Mar 17 '17 at 12:47
  • I cannot understand the commands you provided, and when i typed commands in cmd it is giving me as not recognizable command, and i think you gave me commands for Linux. Am using windows 7 ultimate. Thank you, please give me advise. – ShivA VidEoS TuBe Mar 20 '17 at 10:06