I have an HP laptop with 6 GB ram with an AMD chipset using VS 2017 community and have Xamarin installed. I am NOT using Windows Pro and I am unable to get an emulator to work properly. Before investing more money in a new computer, I am trying to make this laptop do the job. I am wondering if it is the AMD chipset or lack of Windows Pro or both that is the problem.
You do not need Hyper-V to run an Android emulator. What your hardware needs to support is at least Intel-VT or something similar. If it does not support it, use a real device to test, which is recommend any ways.
the android emulator needs Hyper-V, and that role can't be activated on some Windows 10 editions (like Home). The system requirements for Hyper-V are documented here: https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/hyper-v-requirements . You'll need either Professional, Education or Enterprise.
Related
So I have a HP laptop, and as many HP users know it's a nightmare to install Hyper-V on it. But I somehow managed. Hyper-V is running on my laptop and I have all the necessary hardware requirements:
SLAT is enabled
VT-x is supported and enabled
I'm running 64 bit Windows 8.1 Professional
I'm running Visual Studio 2013 Professional Update 3
Hardware D.E.P. is enabled and supported
And yet when I run the Phone Emulator installation I get the following display:
I can't figure out what's going on or why I keep getting the error. Hyper-V is running as shown:
I've spent two days already trying to figure this out and searching on Google for a solution to this problem. Some of the things I've tried:
Flashing my BIOS
Resolving issues with the Realtek BlueTooth driver (this causes issues with Hyper-V)
Reseting my BIOS
Doing a clean install of my whole system
Installing all Windows Updates
Installing all Visual Studio updates
Enabled / Disabled D.E.P.
Any advice is appreciated. If you need the log from the emulator installation let me know and I'll post it here.
Thanks
UPDATE:
I've attempted to install winsows server standard 2012 and tried enababling hyper-v and installing visual studio and the phone emulator there, and that works and I'm able to run the emulators with no problem.
When I tried the same thing back after installing windows 8 again it installs hyper-v but fails to start windows after installing visual studio update 2 with the phone images etc. The only way I can boot back into windows is if I turn off virtualization in bios.
So it turns out that HP Pavilion laptops support all that is needed to run Hyper-V, however it looks as if HP is blocking the SLAT functionality from working properly with Hyper-V thus not allowing it to run correctly. This looks like it's blocked at the BIOS level.
Updating the BIOS doesn't solve the issue.
The way I came to this conclusion is that Windows Server running Hyper-V runs the Windows Phone emulator with no problems, and it's a Microsoft decision to not require SLAT when running Hyper-V on Windows Server while requiring it on Desktop version of Windows.
Seeing how I paid extra for a more powerful laptop to be able to use features like Hyper-V, and to have an experience such as this due to a manufacturer configuration has left a bitter taste in my mouth. Needless to say this is the LAST time I'll ever buy an HP laptop.
I installed visual studio express 2013 on my windows 8.1 computer. Everything was fine until I learned that I needed 8.1 pro to have hyper-v to use a phone emulator to run my program. (I think)
Rather than downloading a new operating system, would I be able to use an earlier version of visual studio? If so, which one...
I am very new to phone development and (considering I can't get past the installation stage) would appreciate the simplest explanation out there.
Thanks!
Sadly, no. Hyper-V is a requirement for WinPhone emulation, and it requires Pro, no matter what version of VisualStudio
Note: To use the Windows Phone 8 emulator your PC must have Windows 8
Pro or greater and a processor that supports Second Level Address
Translation (SLAT).
https://www.dreamspark.com/student/Windows-Phone-8-App-Development.aspx
http://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx
However,you can easily upgrade to Pro, see http://windows.microsoft.com/en-us/windows-8/feature-packs You just buy an upgrade key and enter it, you don't have to go through the whole install a new OS process
I installed Visual Studio 2012 and Windows Phone 8 SDK successfully. I created a new phone app and trying to run but it doesn't show me any emulators in Visual Studio 2012.
Make sure that your PC satisfies the system requirements for running the emulator:
Windows 8 Pro edition or greater
A processor that supports Second
Level Address Translation (SLAT)
If your computer meets the hardware and operating system requirements,
but does not meet the requirements for the Windows Phone 8 Emulator,
the Windows Phone SDK 8.0 will install and run. However, the Windows
Phone 8 Emulator will not function and you will not be able to deploy
or test apps on the Windows Phone 8 Emulator.
Source
Pretty much #Olivier's answer. Also, make sure you have Hyper-V enabled on your computer.
In lieu of this, There's a very nice tool on codeplex that pretty much checks if your computer is able to start hyper-v and the windows phone emulator.
If that passes, you'll want to follow this article in order to get hyper-v set up. Specifically the two enabling sections.
There was a post a little while back on what is required specifically here on stack overflow. It can be found here
I'm trying to make a simple Windows Phone application on a Macbook Pro. So I'm running Visual Studio in Windows 7 inside of VMware Fusion.
When I try to run the phone emulator, this is what I get.
I looked for settings that I could modify to the virtual machine settings but didn't find any.
Unfortunately this technique will probably not work for you. I had the same issue when I was on my PC and wanted to create iPhone applications. VMWare (and other Virtual Machines) are not fully gfx enabled. You need to check the box that says "Accelerate 3D graphics
What I would suggest is to install Windows 7 on your Mac using BootCamp.
I'm playing around with windows phone 7 development, when I press F5 Visual studio takes forever to deploy the app, I get
Window Phone Emulator is doing complete OS boot.
What would be the problem?
PS: I'm using windows 7 on Mac with Parallels Desktop
The emulator isn't supported running inside or side by side other VM's at this stage. It is implemented as a VM itself. VM's running on windows platforms will be detected by the emulator startup and a specific error message provided. I've noticed several people having the same issue from Parallels on Mac ... presumably the VM detection doesn't work over there to stop the attempt.
System requirements documented here and here for your reference.
Similar to how we have to run a Mac to develop for iPhone without hassles, you'll need to run a PC to develop for Windows Phone 7 - at least for now.
You may also find your issue with the WIndows Phone Emulator is because the Emulator actually the real phone ROM running in a Virtual Machine.
Since your situation is a VM (Windows 7 on Parellels on Mac) this may explain your performance issue. Developers using VMWare have had similar issues plus Virtual PC / Hyper-V does not support Windows Phone 7 at all.
Running virtual machines on virtual machines is a massive performance hit, your only solution may be a cheap PC installation of Windows Phone 7 tools etc on compatible hardware ie Graphics Card / with WDDM 1.1 compatible drivers etc.
For my WP8 deployment, I notice that disconnecting my MacBook Air from the power source will slow the deployment down considerably (so will the debugging and tracing).
Simply plug the laptop back to the power source and everything will become fast again.
Don't kill the emulator between debug sessions. There is no need.
Also - Visual Studio 2010 Express For Windows Phone, which is installed with the tools, is much more responsive as it has less features running.
So if speed is really an issue, that may be an option.