I am working on andorid and my emulator is working fine but now whenever I try to run my project my emulator always get freeze I have also added that picture. Any help to resolve this issue?
CodePudding user response:
That's Windows 11 right? A lot of people seem to be having issues and there's an issue about it on Google's tracker:
Android Studio Emulator is not working on Windows 11 using WHPX
Android Studio Emulator is not working on Windows 11 when WSL2 is installed
If none of that applies (the question shows how to run the emulator from a terminal, so you can see what the output is) then I'd try in this order:
- close the emulator and make sure there are no emulator processes running in Task Manager
- reboot and try again
- do a Cold Boot in the AVD manager (clears the emulator state)
- delete the AVD and create a new one
but given that it's hanging like that partway through initialisation, it might be an issue with the emulator process itself. Some stuff to try anyway
CodePudding user response:
Try delete this emulator and create some new emulator.