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:UsersMYUSER.androidavd/Pixel_4_API_30.avd/*.lock"
But I can’t find this directory.
Anyone can help me?
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
This error occurs when your emulator didn’t shutdown properly while running emulator it create .lock extension for running your emulator just go to your avd location in your system
C:Usersbizap.androidavdPixel_3a_API_30_Nitin_.avd (this is my avd location) and from here delete .lock extension file after that try to re run your emulator.. it will work for location.
Open your adv manager after opening you will see your emulator on the right side of emulator you will find green drop down arrow after click on that arrow pop up menu open and then select show on disk option when you click on show on disk it will redirect you to avd location.
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: