gayan1991
gayan1991

Reputation: 795

Why Windows Phone 8 emulator does not run in Windows 8.1?

I have downloaded Windows Phone sdk and but it gave me an error about Hyper-V and asked me to restart. I restarted the computer and start a new windows phone 8 project and when I debug it gave me this error.

Can't start Windows Phone Emulator

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)

Is there any way I could get this work?

Upvotes: 0

Views: 93

Answers (3)

Sven Borden
Sven Borden

Reputation: 1090

To allow Hyper-V (assuming you have a windows 8.1 Pro or windows 10 pro)

Go to cmd, run it as admin and tape the following :

bcdedit /set hypervisorlaunchtype auto

To turn it off (Because you will quickly get into some problems while not debugging)

bcdedit /set hypervisorlaunchtype off

Upvotes: 1

Owen Pauling
Owen Pauling

Reputation: 11841

The system requirements documentation for the windows Phone 8 emulator states that you need a 64-bit version of Windows 8 Pro edition or higher. I suspect you do not have a Pro edition.

You can still develop apps for Windows Phone 8 on a non-Pro edition, but you can't use the emulator - you have to debug on a registered Windows Phone 8 phone.

Upvotes: 2

Shahrooz Andrea
Shahrooz Andrea

Reputation: 67

just do a simple task go this path Control Panel --> Program And Features --> Turn Windows features on or off --> Be Sure That Hyper-V has been checked now restart your computer

Upvotes: 2

Related Questions