Search code examples
uwpwindows-phonewindows-10-mobile

The emulator is unable to connect to the device


I'm getting the below error while running a UWP project in Windows 10 emulator using Visual Studio 2015.

Error Message thrown by the emulator

I have tried the below. 1. Hyper-V settings changes. 2. Running everything in administrator mode.

Still i found no solutions.


Solution

  • In my case the one who solved my problem was to run the XdeCleanup.exe, after run it my emulator began working again, of course this for windows 10.

    it can be found here: C:\Program Files (x86)\Microsoft XDE\\XdeCleanup.exe

    I ran it via command prompt as an administrator and it should: deletes all emulator specific Hyper-V VMs, and it also deletes any VM checkpoints or saved states.

    hopefully this solution works for you!!!