Search code examples
androidandroid-studioandroid-emulator

Emulator is not working in android studio latest version


I have run my app but still Device Manager is saying

No emulators are currently running. To launch an emulator use the Device Manager or run your app while targeting a virtual device

As you can see a green dot in the emulator that means "Emulator is running"

enter image description here

And some time emulator is showed but when I click on screen then emulator gone

I think this version of the android studio has more bugs when compared to its previous version

Do you guys have any tricks or solutions?

Any help will be is always appreciated!


Solution

  • I have 2 Solutions so you can try both if one doesn't work

    Solution No 1

    Select device manager and select your device and select the drop-down menu

    enter image description here


    then click on the show on disk option

    enter image description here

    then delete all files that have the .lock extension and run your emulator again.

    enter image description here

    Solution No 2

    You can get a normal emulator like previous time android studio have, so to get the previous emulator in the new version of android studio you can do these steps

    open the settings tab by following the below steps or by pressing Ctrl + Alt + S

    Select File > Settings > Tools > Emulator

    then unTick the option name Launch in a Tool Window then click okay now you got the previous emulator. and if in the emulator you got any issues you can check This Solution for Emulator on StackOverFlow

    enter image description here