Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while waiting for device: Could not start AVD, virtualization is turned on

recently installed android studio on my pc, created virtual device but when I click " run 'app' " the only thing that happens is error "Error while waiting for device: Could not start AVD", this error is in "Run" tool window, besides that there's absolutely no information what and why that happens.

Few things worth mentioning:

I have enabled virtualization in bios
I tried deleting virtual device and create new one, no change
I have installed android sdk

Anyone knows how to resolve that problem?


2 Answers

Check AVD Manager if there is no permission denied for /dev/kvm. If it is the issue, open the terminal in Android Studio and run sudo chmod 777 /dev/kvm and it will solve your problem.

Better solution is change the ownership of /dev/kvm from root to the owner of current app by running the command sudo chown -R "your account name" /dev/kvm.

like image 197
Elchin Guseynov Avatar answered Oct 30 '25 04:10

Elchin Guseynov


In my case, I just had to install the proper drivers for my graphics card. I was using the Ubuntu's default, nouveau.

like image 30
Ricard Barnes Avatar answered Oct 30 '25 04:10

Ricard Barnes



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!