Android Studio 3.01 Emulator Doesn't Start On Mac
Hi, When I try to start emulator the start task fails, with message like below. 14:06:01: [Critical] Unable to add user to the Hyper-V Administrators group. Exit code 2220. I was using it on Windows 8.1 where it worked well on the same PC. This proves that my PC meets all requirements and it is properly configured. After clean install of Windows 10 emulator doesn't work.
Hyper-V on my PC is running well. I can create and run 32 and 64 bit vm's. There is problem with creating android vm's by vs emulator. There is no group 'Hyper-V Administrators' and it can't be created. Tried these solutions: also i tried to recreate InitialStore.xml for Hyper-V with needed group and operations but without success. It seems that hyper-v bundled with windows 10 doesn't require any special group to run, create, manage and remove vm's, switches, etc. Emulator thinks different and it can't assign me to group which does not exists.
Jumping in with an official answer for the thread: 1 - What is the problem? Best free radio app. The problem is that if you are running a version of Windows that does not support Hyper-V - and you upgrade to a version that does support Hyper-V - we fail to create the Hyper-V administrators group.
Home --> Edu and Home --> Pro are the two common paths here. 2 - What can you do about this? Well, you can't just create a Hyper-V admins group. Sorry - it is special. There are, however, a couple of options. A) You can do a clean install of Pro or Edu without an upgrade.
The real problem, at least over Ubuntu 16.10 and 17.04 and Andoid Studio 2.4 Preview 7 (but could happen with any Debian derivative and previous versions of Android Studio), is that Google is distributing a non working libstdc++ library with the emulator tools.
Painful but viable. B) You can run Visual Studio 'as administrator' c) You can join the Windows Insiders - this bug has been fixed in the latest flight of Windows This posting is provided AS IS with no warranties, and confers no rights. You assume all risk for your use. The Android emulator and Hyper-V cannot be running at the same time. The Android emulator uses qemu and acts like a hypervisor, needing direct access to the virtualizaton extensions of the chipset, just like Hyper-V. To use the Android emulator you have to boot your system with Hyper-V off.
And vice-versa. The Hyper-V Administrators group is created when the Hyper-V Role is enabled. You cannot create it and expect it it to function in the same way. They way to have it is to remove the Hyper-V Role and then re-add it. In regards to the blog articles you reference for permissions - the permissions model changed with 2012 R2. Authorization Manager is no longer used.
So the initialStore.xml is essentially null and void. Brian Ehlert Learn. Hi Mateusz Przybylski, From the literal meaning of the error it must your current account not have the local administrator permission, You have to be a member of the local Hyper-V Administrators group when you use the emulator, more details please refer the following KB: System Requirements for the Visual Studio Emulator for Android I’m glad to be of help to you! Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.