I use Android Studio as my development environment for development. And I created a virtual device that was preinstalled for Nexus 5. Here are the details for AVD,

So, when I create my application for the first time and launch it using an emulator, it freezes on the lock screen. By that time, I had not looked at any magazines. Then I ran it again, and then it was successful. But I give it some time (about 10 minutes), and when I checked again, the AVD was frozen. Then I saw that logcat logged the following error in an infinite loop,
02-02 17: 48: 32.768 1233-1259 / system_process E / libsuspend: Write error in / sys / power / state: No such device
He just keeps writing. And the ADB logs had the following:
PropertyFetcher: AdbCommandRejectedException -5554:
? - ?