Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 860
Arun Prasad Avatar asked Jan 04 '23 06:01

Arun Prasad


1 Answers

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!!!

like image 192
Enrique A. Pinelo Novelo Avatar answered Feb 24 '23 18:02

Enrique A. Pinelo Novelo