Issue
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?
Solution
Open a terminal and execute:
sudo rm ~/.android/avd/<your-device-name>.avd/*.lock
This command will remove files like:
- ~/.android/avd/your-device/hardware-qemu.ini.lock
- ~/.android/avd/your-device/multiinstance.lock
- ~/.android/avd/your-device/snapshot.lock.lock
Answered By - Juan Ignacio Barisich
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.