问题
I use Visual Studio 2019 for mobile application development. I use Android Emulator for a long time but I have some issues with it only during the last month.
I have created some virtual device by Android Device Manager. The hw.gpu.mode property is set to auto. When I run this device in the emulator everything is running perfectly. Emulation is very fast and without problems. But when I click on the emulator close button and the device state is saved then everything freezes on a long time. My OS is not responding on any user input. After 5-10 minutes is emulator closed finaly.
Do you have some idea how to resolve emulator closing? I have no idea why emulator terminating takes so much time.
回答1:
So think that I found the right reason for my problems. I use a docking station connected to my laptop. When I connect my display to my laptop directly, all problems disappeared.
来源:https://stackoverflow.com/questions/60308984/android-emulator-consume-too-much-cpu