Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio emulator keep starting up and nothing happen

I try to learn flutter using android studio version hedghog(2023) but I can't run emulator and I don't know why because there is no error. after clicking on start for emulator it keep stuck on starting up. I try every solution that I found on the internet:

  1. re-installing android studio
  2. re-installing sdk
  3. try new sdk
  4. re-installing emulator
  5. make new virtual devices

none of those help me

enter image description here

like image 303
Amir Avatar asked Nov 29 '25 09:11

Amir


2 Answers

Every time this happens to me I fix it by going to the three dotted menu, then "Show on Disk".

Then, once in that folder, I delete all files which name ends in .lock.

It works for me always.

(note: you might need to show hidden files in the explorer)

access files of your problematic emulator

these are the files I usually remove, your case might be different

like image 59
Alberto Garrido Avatar answered Dec 02 '25 03:12

Alberto Garrido


In my experience this usually happens if your emulator is set to Quick boot. I think there's a bug with this feature. For now, delete the device, create new emulator and in emulator options set the Boot option to Cold boot.

If you face this issue again, the best thing to do is kill the process. Check this answer for how to do that:

https://stackoverflow.com/a/60665011/1886484

like image 23
Ali Kazi Avatar answered Dec 02 '25 05:12

Ali Kazi



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!