Share via

Android Emulator Causes Windows Crash and goes to BSOD

Anonymous
2020-04-22T09:08:10+00:00

Hi,

There is an issue with Android Emulator with Visual Studio 2019 as well as Android Studio, that whenever trying to open the emulator the windows crashes and enters BSOD (Status : “clock watchdog timeout”).

This issue has started after a patch update for windows (KB4554354 (OS Build 17763.1132)).

Troubleshooting done so far,

  1. We have tried reinstalling the VS 2019 along with Xamarin and freshly created new emulator (x86 processor, API 27/28 etc…)
  2. Tried to install android studio and running the newly created emulator.
  3. Repair the visual studio 2019.

Nothing works and we are out of help from any source.

We are sure that the patch update was the issue causing the problem.

Thanks,

Prabhakaran K

Windows for home | Windows 10 | Internet and connectivity

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

36 answers

Sort by: Most helpful
  1. Anonymous
    2020-05-01T22:35:24+00:00

    I was able to solve the issue by uninstalling KB 4549949 (and adding it to the list of excluded updates).  I can now run Android emulators and write code all day.  And all night.  Life is beautiful again.

    --Ravi

    10+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2020-05-01T16:40:31+00:00

    This problem also occurs with the emulators that are part of Android Studio.  I'm using the latest version of AStudio (3.6.3) and encounter the BSOD when starting an emulator from the AVD.  Shortly after the emulator starts, my machine BSODs.  The entry in the event log is:

    The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

    {2593F8B9-4EAF-457C-B68A-50F6B8EA6B54}

    and APPID

    {15C20B67-12E7-4BB6-92BB-7AFF07997402}

    to the user DAYFORCE\rbhavnani SID (S-1-5-21-487255477-1631527022-351744442-1728) from address LocalHost (Using LRPC) running in the application container Unavailable SID (Unavailable). This security permission can be modified using the Component Services administrative tool.

    I'm running Win 10 Enterprise, Intel Xeon CPU E5-1560 v4, 24GB RAM.

    I also use Xamarin (on VS 2017) to develop native Android apps, but I believe the issue is unrelated to Xamarin or Visual Studio, as it's easy to repro in an isolated manner by simply starting an emulator from the AVD.

    Ravi B

    5 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2020-10-15T11:25:10+00:00

    I followed my <Event Viewer>.. found following Event sources as specified under “Hyper-V-Hypervisor”.

    " The hypervisor did not enable mitigations for CVE-2018-3646 for virtual machines because HyperThreading is enabled and 

    the hypervisor core scheduler is not enabled. To enable mitigations for CVE-2018-3646 for virtual machines, enable the core scheduler by running "bcdedit /set hypervisorschedulertype core" from an elevated command prompt and reboot.  "

    Hence as suggested applied "bcdedit /set hypervisorschedulertype core" through command prompt and reboot.

    After this windows crashing stopped at last and Emulator started working but looked slow.

    using [Developer PowerShell] of Visual Studio Professional. Run Powershell as Administrator.

    PS C:\Windows\system32>

    Run the command: Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V

    ************************************************************************

    If it is enabled, you'll see the answer like this:

    FeatureName      : Microsoft-Hyper-V

    DisplayName      : Hyper-V Platform

    Description      : Provides the services that you can use to create and manage virtual machines and their resources.

    RestartRequired  : Possible

    State            : Enabled

    3 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2020-04-22T09:41:46+00:00

    Hi Kyle,

    I have tried uninstalling the patch(KB4554354) and emulator has started working from Monday(20-Apr-2020).

    But unfortunately the issue has started again from today morning after the couple of windows patches (KB4549949 & KB4549947) installed (automatic updates) yesterday night(21-Apr-2020).

    The issue is there for both my teammate and me.

    Thanks in advance for any help to resolve this issue.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2020-04-22T09:11:10+00:00

    Hi thanks for reaching out! I'm Kyle M. a Microsoft Independent Advisor and a Microsoft community member like you. I'm glad to help you

    You can rollback and uninstall your recent update follow these Steps:

    1. Press Start button then click on the Gear icon which is the Settings
    2. Press "Update and Security"
    3. Press "View Update History"
    4. Select "Uninstall Updates"
    5. A pop up should appear then scroll down to the bottom then on the Microsoft Windows section, right click the recent or all of the "Update for Microsoft Windows KB4554354" then Click "uninstall".
    6. wait for the process to be finished then restart the PC/Laptop there you should have the fix on your update problems.

    Let me know if you need anything else! Keep safe!

    Regards,

    Kyle M.

    1 person found this answer helpful.
    0 comments No comments