-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"message": "Could not get Virtual Machine for Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB" #124
Comments
After the analysis, found that the below code in emulator controller constructor(EmulatorController.cs) gives this issue. so after commenting the line, code started working fine without any issues but this might impact when finding elements but not sure.. so this is just a workaround and looking for a permanent fix for this if any. this.PhoneScreenSize = this.emulatorVm.GetCurrentResolution(); |
So, if I understand correctly it throws exception when this.PhoneScreenSize = this.emulatorVm.GetCurrentResolution(); is called at EmulatorController.cs#L54. This is strange, because I have tested it against Mobile 10 Emulators and it worked fine. |
@NickAb , sure will do and update you on this. |
@NickAb , I have added generic Exception type in catch block and found the below message. Please let me know if you need any more details. Microsoft.Xde.Wmi.XdeVirtualMachineException: Couldn't find |
@WiniumLover, I've just ran tests on same emulator version as in your logs without any issue, considering that you wrote that
I think this is specific to your system. I would recommend to try these options:
|
@NickAb , thanks for the suggestion. many times I have reinstalled hyper-v but not luck. but I could try option 2 or 3. will let you know my findings. |
@NickAb , after re-installing the Windows SDK and Emulators, started working fine. Please feel free to close this issue. |
I have opened a new issue #126 on logging of underlying exception, so that it would be easier to understand what the problem is if it occurs for someone in future |
@NickAb , perfect thanks. |
Hi,
I am using the winium latest version Winium.StoreApps-1.5.0 as well as direct copy from master branch. Initially all my app deployment and tests were running fine but recently noticed that both the versions end up with the below issue. Could you please advise me why on this issue?
"message": "Could not get Virtual Machine for Mobile Emulator 10.0.10240.0 WVGA 4 inch 512MB"
Noted that application deployment went fine without any issue but it failed when it try to create new session for testing.
The text was updated successfully, but these errors were encountered: