Visual Studio 2015 RC Emulator for Android not starting

I have a problem with Visual Studio 2015 RC Emulator for Android. The emulator does not start when I start debugging (F5), nor from "Tools> Visual Studio Emulator for Android ...". The process gets stuck in "Preparing the virtual machine", and there is the process "Xde.exe" with 0% CPU usage in the task manager. This happens for all virtual machines. Previous emulators (pre-RC) worked fine.

The required APIs (19 and 21) are installed in accordance with the SDK manager.

I tried reinstalling Visual Studio and also repairing it, but that didn't help.

How can i fix this?

Visual Studio Emulator for Android

Update:

Here are the magazines: http://pastebin.com/xgyTNkJ9 . Lines [Critical] The operation was canceled. are self-learning. [Critical] Could not launch 'VS Emulator 5.5" KitKat (4.4) HDPI Phone' device. Occurred when I killed xde.exe in task manager.

What a strange fact: when I import a VHD file from %localappdata%\Microsoft\VisualStudioEmulator\Android\Containers\Local\Devices into Hyper-V Manager, it works fine and I can even start and use it. Unfortunately, I still cannot debug the application from Visual Studio this way.

Update 2:

So, I reinstalled Windows on my laptop, and this happens after installing Visual Studio 2015 RC. So there are two different devices, one clean install of Windows and the same effect.

+16
android-emulator visual-studio-2015 hyper-v visual-studio-cordova
May 14 '15 at
source share
4 answers

This may be a duplicate of the Visual studio (2015) emulator for android not working - XDE.exe - Exit code 3 .

I had the same problem as yours, and this was resolved by following the steps given in this answer: https://stackoverflow.com/a/212618/

The key for me was to disable the network access that I installed on my Wi-fi adapter.

+2
Aug 04 '15 at 11:05
source share

You may not be a member of the Hyper-V Administrators group on the computer. Do it:

  • Open Control Panel> Administrative Tools> Computer Management.
  • Expand Local Users and Groups, and then click Groups.
  • Double-click the Hyper-V Administrators group.
  • Click "Add" and add your username to the group.

If the group does not exist, you can create it using the PowerShell script in this blog post: http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/09/28/creating-a-hyper-v-administrators- local-group-through-powershell.aspx

0
Jun 01 '15 at 17:28
source share

You may not have enough memory to run the Hyper-V virtual machine. If you go to Hyper-V Manager and try to run the emulator image, you can see if it starts at all, or if you don't have enough free memory on your computer.

-one
May 15 '15 at
source share

I came up with a very genuine solution that can satisfy your basic need to run an emulator. All you have to do is follow these steps:

  • Sign in to https://www.genymotion.com/account/login/
  • Download Genymotion from there.
  • First download and run the emulator of your choice from Genymotion. [Launch the emulator from the start button] [2]
  • Then continue and open Visual Studio.
  • Open your solution, and while your Genymotion Emulator starts up, you will see that in playback mode you will have a new Emulator device, which will be the Genymotion Device.

  • Expand with this device.

  • Hurrah!! Your solution is successful.
-6
May 14, '16 at 13:43
source share



All Articles