Search code examples
android-studioandroid-emulator

Android doesn't launch my emulator, it says that is already running or delete file in a certain directory


When I try to launch my emulator it display an error that says: "Emulator is already running", but my emulator isn't running. So it also say: " If that is not the case, delete the files at C:\Users\MYUSER.android\avd/Pixel_4_API_30.avd/*.lock" But I can't find this directory. Anyone can help me?


Solution

  • To solve this you need first to delete the *.lock folder that has a path printed to you in your running log.

    Then, cold boot for the device:

    1. Go to AVD Manager

    enter image description here

    1. Press on "Cold Boot Now"

    enter image description here