emulator: ERROR: A snapshot operation for 'Nexus_4_API_27' is pending and timeout has expired. Exiting...
I am getting this error when I am trying to open emulator from command-line with this bellow command.
anjan@anjan-HP-Laptop-15-bs0xx:~/Android/Sdk/emulator$ ./emulator -avd Nexus_4_API_27
How to solve this problem?
Open a terminal and execute:
sudo rm ~/.android/avd/your-device/*.lock
This command will remove files like:
It is caused be the lock file generated by the boot which reside in the folder = .android/avd/{yourDeviceName}.
we can delete by using sudo rm snapshot.lock.lock command.
Then cold booting the device again ,solves the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With