Windows Phone Emulator error - Couldn't change Processor of the virtual machine - windows

I have VisualStudio 2012 update 4 with Windows 8.1 Premier OS (64 bit). I just created simple windows mobile application from new project option in VS2012 and tried to run. I got the below error message
The Windows Phone Emulator wasn't able to create the virtual machine:
Couldn't change Processor of the virtual machine:
'Emulator WVGA 512MB.admin' failed to modify device
'Processor'. (Virtual machien ID #######-#####-####-######)
Cannot assign the specified number of processors for
virtual machine 'Emulator WVGA 512MB.admin' is our of
range. The range is 1 through 1. (Virtual machine ID #####-#####-######
I am new to windows mobile development. Please explain how can I avoid this error.

This is resolved by altering the process count by 2 in the Hyper-V manager.

Related

Windows 8.1 dont have hyper-v - cant use Windows Phone Emulator

Lately i wanted to get into Windows Phone 8 development and i installed Visual Studio 2013 + Windows Phone SDK 8 + Visual Studio 2013 Latest update.
My system parameters are:
- 8gb ram
- Windows 8.1 64bit system
- Intel i5
The moment i try to run a Windows Phone project a dialog appears and it says:
Title - " Cant start the windows phone emulator"
Subtitle - "The Windows Phone Emulator requires Hyper-V.Your PC is missing the following pre-requisites required to run Hyper-V:
-Windows 8 Professional(64 bit)"
After i saw that i checked for how to upgrade Normal Windows 8.1 to Windows 8.1 Professional.
With no luck i tried to find out more about to install Hyper-V with the BIOS configuration with no luck as well.
Usually i develop on Android with Eclipse(with the Emulator) so i can't understand the reason why a emulator of Windows Phone can't run on my system.
P.S
I dont have Hyper-V feature in the Windows Feature list to Turn off/on
Thanks heads up for each answer! :)
The error is saying you need Windows 8.1 x64 Pro or Enterprise to be able to install Hyper-V. You can still develop phone apps in the edition of Windows 8.1 you have but you must debug on on a windows phone the emulator will not be available
System Control -> Programms and Functions -> "Activate or deactivate Windows Features" (in the left bar)
(freely translated from my german win8.1)
There you can activate Hyper-V if it is inside your Windows-version. Then try to restart VS2013 and start the emulator. I had to "deactivate" my Hyper-V and activate it again for some reason. Then it worked.
Good Luck! :)
The Windows Phone 8 emulator is a special Hyper-V image. It cannot run on other virtualization technology.
Without the emulator, the alternative option would be to use an actual device.
you can use a virtual machine to deploy windows phone 8 OS. Your System processor does not support hyper-v so, you can install win phone 8 on a virtual machine. you would found this link helpful.. check it out: http://www.youtube.com/watch?v=WANk_XaovqM
Step which i followed; ( I already have windows 8.1 64-bit machine )
Enabled 'Virtualization / Hardware assisted virtualization' in bios. [ https://www.google.co.in/search?q=enable+virtualization+in+bios&oq=enable+virtual&aqs=chrome.1.69i57j0l5.5117j0j7&sourceid=chrome&es_sm=93&ie=UTF-8 ].
Hyper-V option came in 'windows features' after I did this step.
Later, I Became a member of Hyper-V admin group.

Windows Phone Emulator error, Hyper-V components not running, Windows 8.1 hosted in VMWare Player

Environment:
Windows 7 Enterprise 64-bit as host o/s
Windows 8.1 Enterprise 64-bit hosted in VMWare Player (current version)
Visual Studio Express 2012 for Windows Phone (Update 4)
I get the following error when trying to run a very simple phone app. I know MS says a VM-within-a-VM environment isn't supported, but I know it can work. Has anyone had success with this? Any help is greatly appreciated.
Windows Phone Emulator
The Windows Phone Emulator wasn't able to ensure the virtual machine
was running:
Something happened while starting a virtual machine: 'Emulator WVGA
512 MB.' failed to start. (Virtual machine ID
CADD6546-129A-4683-9A2D-52EAE777E888)
The Virtual Machine Management Service failed to start the virtual
machine 'Emulator WVGA 512 MB.' because one of the
Hyper-V components is not running (Virtual machine ID
CADD6546-129A-4683-9A2D-52EAE777E888).
Prior to seeing the error, the emulator emits the on-screen messages:
Loading ...
The Windows Phone OS is starting ...
And then the error. Of all the Hyper-V services available, the Hyper-V Virtual Machine Management service is the only one which is running.
I've got Windows Phone 8 (and 8.1) emulators working in a VMware Player VM (running Windows 8, obviously) on a Windows 7 host.
You must first check the physical processor supports SLAT. If it does, you can set the "Virtualize Intel VT-x/EPT or AMD/RVI" in your VM's processor settings (Manage/Virtual Machine Settings/Processors). Then make sure the hypervisor.cpuid.v0 is set to "FALSE" in the vmx file for the VM. (exit VMware player before doing this). And you should be good to go.
See http://developer.nokia.com/community/wiki/Windows_Phone_8_SDK_on_a_Virtual_Machine_with_Working_Emulator for a step-by-step guide on how to do this when creating a new VM.

The Windows Phone Emulator wasn't able to set some properties on the virtual machine

I've installed Windows phone 8 SDK successfully and I have run the applications successfully on the emulators. Everything was fine.
Now I have updated my Microsoft Visual Studio 2012 for Windows Phone Version 2 to Version 4.
And I have downloaded and installed the Windows Phone SDK 8.0 Update 3 Emulators. Now I run the application in Emulator WVGA 512MB and the application running successfully.
Now when I try to run the application in Emulator Update 3 1080P, then I am getting the below error.
Please help me how to solve the above issue.
Thanks
WP 8 Emulator works on a virtual machine, so you should check virtual machine settings on Hyper-V. It seems that Emulator needs more memory and your computer has not enough.

Windows Phone 8 SDK Xde emulator runs really slow and Crashes

when you try and run the emulator it will load, then say windows phone OS is starting up, then sit there about 3-5 mins and fail.
Im Running Visual Studio Express 2012 for WP on Lenovo N586 64-bit I've upgraded to windows 8 pro
lemme run down the list of what Ive tried...all are listed here
yes hardware supports hyper-v virtualiztion amd a6-4400m
I'm slat Capable theres a program you can use to test this.
Hyper-v is Installed and running fine
running windows 8 pro I had to upgrade.
Im 64 bit
Im not running any other virtualization software
Ive run XDEcleanup.exe and ran VS2012 as administrator no luck
no im not running on a virtual machine.
and just for fun I've uninstalled the sdk and re installed it
any idea?
For what you're describing, its looks like the VS is trying to create the virtual switch, but failed. To resolve this, go to Hyper-V's Virtual Switch Manager, on the left side of the window, and be sure that you have one virtual switch for every network card you have, usually you must have 3: 1 for the wireless, 1 for the LAN and 1 for internal. If your don't have the wireless or the LAN, create them.

Windows Phone emulator won't start with a "Another Virtual Machine Manager is running." error

I'm using Visual Studio 2010 Express for Windows Phone (with SDK 7.1.1 update) and I'm trying to debug but when the emulator tries to launch, it gives me this error:
Another Virtual Machine Manager is running. Close the other Virtual
Machine Manager, wait for some duration, and relaunch the Emulator.
Anybody know what's going on? I'm running this on a physical machine (not on a VM)
Do you have the Intel (R) Hardware Accelerated Execution Manager (HAXM). that's installed with the latest Android SDK?
If you have installed this component is the Windows Phone 7 emulator will spit out that error, to resolve it you have to uninstall it and reboot.

Resources