Phone emulator in Visual Studio 2015 RC on Windows 10 preview build 10074 does not work - emulation

I had some problem in running some Phone of the emulators in VS2015 RC so I tried to install also the "Pre-release Microsoft Emulator for Windows 10 Mobile" and then also the external SDK ...
Now, even thought I uninstalled the external Windows 10 SDK and made a "repair" of VS2015 RC, no one of the phone emulators stars (it goes till the "OS is starting" phase and then remain in that state till, after many minutes, the emulator crashes and some time a popup says "The emulator is unable to get the sensor states from the device: Operation failed because connection is shut down", ... most of the times no error is reported).
I also tried to delete in the Hyper-V manager both the created emulators virtual machines and the related Virtual Switches related to Windows Phone Emulator Internal: these are recreated at the next run of the emulator from VS, but nothing changed ...
Any suggestion? How can I make at least some of the phone emulators work properly?
Regards
Enzo

Related

Run Android Emulator on Windows 10 with XenDesktop on VM on ESXiHost?

The standard computer lab setup at the school where I work is for the students to connect to a Windows 10 image running XenDesktop on an ESXi host via Citrix Receiver.
We'd like to add Android development to our virtual computer lab, but none of the emulators I've tested will run. Here's what I've tried and the results:
Android ADB that come with Android Studio: Not compatible with Hyper-V, so Hyper-V turned off and ADB hangs with message "Cannot get ADB Version" or similar
Microsoft Visual Studio Android Emulator: It hung when trying to start AVD with message "Starting OS" on AVD. After an hour, I tried to close it and AVD message changed to "Closing operating system" and hung there. I finally closed it with Task Manager.
GenYmotion: It hung when trying to start the AVD. The AVD was an empty window frame.
Has anyone attempted something like this?
The solution turned out to be relatively simple. Use the vSphere 6 Web Client to edit the VM settings, and on the CPU settings, enable "Expose Hardware assisted virtualization to guest OS" (the standalone vSphere client does not have this option). Then restart the VM, install HAXM on the VM, restart the guest OS, and then Android studio and emulator will allow x86 AVDs as usual.

Android studio 2 - emulator popup doesn't appear

I'm new with Android studio (2.0) and android app. I downloaded android studio 2.0 two days ago and started my first application "Hello world".
When I start the application on my tablet, the application work fine and evrything seems valid.
When I start the emulator nothing happend and I don't have error messages. The emulator start but no popup windows appear. I try to understand why but without error messages it's not easy (and I'm a starter :-( )
My pc is Intel R Core CPU 3.00Ghz with 8Gb ram. Windows 7 (system type 64 bit)
I use Android studio 2.0.
The option Tools- Android - enable android ADB integration is check.
The application compile.
When I start the application with the emulator, I have this message:
c:...\AppData\Local\Android\Sdk\tools\emulator.exe -netdelay none
-netspeed full -avd TAB.
After a short time, I have the message
Waiting for target device to come online
(I cann see a process when I start the task manager" but nothing appear and I expect a popup windows to test my app.
This is the info from the sdk manager:
Can you help me ?
(sorry for my english, I'm Belgian)

Windows Mobile Emulator 10.0.10240.0 not launching the OS

I have Windows 10 Pro installed (Hyper-V activated) and Visual Studio Enterprise 2015 (with "Universal Windows App Development Tools" and "Windows 8.1 and Windows Phone 8.0/8.1 Tools" installed) . I can launch succesfully all Windows Phone 8.1 Emulators but if I launch Windows Mobile Emulator 10 that is what happens:
The Phone Emulator opens properly with the write "Loading...".
After a while appears the write "OS is starting...".
Finally (after 5-10 minutes) the write disappear without launching the OS, the emulator just stays open with the black screen.
Visual Studio doesn't give any error so I really don't know what is the problem.
I also tried to launch the emulator directly from Hyper-V (right click on the emulator->Connect and then Action->Start) but the window just stays black. It seems I can't load the OS.
Any suggestion would be appreciated.
Open your HyperV, Open Visual Switch Manager .
Find VisualSwitch related to the Emulator ,click on it .
In Connection Type ,set connection to Private network ,Then press OK and restart your PC .After restart do the same and change Connection Type to Internal network and then restart.
Then it should work ,I guess!

Window Phone 8 Emulator not starting from visual studio

I've just installed the WP8 SDK, but when I try loading a project I created from Visual Studio it just starts the XDE and displays:
Window Phone OS is starting up
But after about 4 minutes it shuts down.
However, when I start up of the emulator manually, it starts perfectly fine. Any idea what the problem could be ?
This happens when you upgrade your system (windows Update) and modify the drivers on your network configuration. Just use the repair function of the WP8 SDK installation disc.

Android Emulator failed to launch, might caused by not supporting extended desktop

I have been frustrated with Android Emulator for weeks after using x86 emulator. The emulator showed with blank screen for hours even if the LogCat indicate it is running, but I am afraid the application was trapped in a dead loop.
To correct this problem, I have re-installed all my computer and android developing environment, and follow every instructions I could get by searching the internet; while the result was frustrating: there was only one "system_process" running on the emulator.
Then today I noticed there is a SystemUI error, thus I guess if this is caused by the PC configuration when I was using extended desktop. So I detached my laptop from the dock and re-launched the emulator, this time it cost only about 10 seconds to get all the processes ready to simulate android phone.
So I guess there is a bug to handle PC with extended desktop enabled. If you have got similar problem when launching Android Emulator, please try detach your PC from the second display first.

Resources