Android emulator is incompatiable with Hyper-V in Android Studio (no Hyper-V installed)
Recently, I am using Android Studio to develop an app, but Android emulator can not work. It always displays the problem:
Android emulator is incompatible with Hyper-V
However I have turned off Hyper-V in program feature, but it is still a problem. I've been stuck on this for whole week.
Would anyone know how to fix this error?
windows-10 android-studio
add a comment |
Recently, I am using Android Studio to develop an app, but Android emulator can not work. It always displays the problem:
Android emulator is incompatible with Hyper-V
However I have turned off Hyper-V in program feature, but it is still a problem. I've been stuck on this for whole week.
Would anyone know how to fix this error?
windows-10 android-studio
Try this command to remove Hyper-Vdism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
. And also this commad to disablebcdedit /set hypervisorlaunchtype off
– Biswapriyo
May 17 '17 at 9:09
i have tried both, it did not work at all, thanks your reply, :), there is no way i can solve it after i wasted two weeks, i have tried to use another emulator(visual studio emulator work with hyper-v) with android studio, it finally can work now, @Biswa
– erinmon
May 19 '17 at 5:58
2
Android emulator compatibility with Hyper-V is currently in preview. See this announcement for details: blogs.msdn.microsoft.com/visualstudio/2018/05/08/…
– joslackMSFT
Jul 2 '18 at 23:20
Related post - Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?
– RBT
Aug 2 '18 at 5:16
add a comment |
Recently, I am using Android Studio to develop an app, but Android emulator can not work. It always displays the problem:
Android emulator is incompatible with Hyper-V
However I have turned off Hyper-V in program feature, but it is still a problem. I've been stuck on this for whole week.
Would anyone know how to fix this error?
windows-10 android-studio
Recently, I am using Android Studio to develop an app, but Android emulator can not work. It always displays the problem:
Android emulator is incompatible with Hyper-V
However I have turned off Hyper-V in program feature, but it is still a problem. I've been stuck on this for whole week.
Would anyone know how to fix this error?
windows-10 android-studio
windows-10 android-studio
edited Feb 1 at 8:56
fixer1234
18.9k144982
18.9k144982
asked May 15 '17 at 8:36
erinmonerinmon
43125
43125
Try this command to remove Hyper-Vdism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
. And also this commad to disablebcdedit /set hypervisorlaunchtype off
– Biswapriyo
May 17 '17 at 9:09
i have tried both, it did not work at all, thanks your reply, :), there is no way i can solve it after i wasted two weeks, i have tried to use another emulator(visual studio emulator work with hyper-v) with android studio, it finally can work now, @Biswa
– erinmon
May 19 '17 at 5:58
2
Android emulator compatibility with Hyper-V is currently in preview. See this announcement for details: blogs.msdn.microsoft.com/visualstudio/2018/05/08/…
– joslackMSFT
Jul 2 '18 at 23:20
Related post - Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?
– RBT
Aug 2 '18 at 5:16
add a comment |
Try this command to remove Hyper-Vdism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
. And also this commad to disablebcdedit /set hypervisorlaunchtype off
– Biswapriyo
May 17 '17 at 9:09
i have tried both, it did not work at all, thanks your reply, :), there is no way i can solve it after i wasted two weeks, i have tried to use another emulator(visual studio emulator work with hyper-v) with android studio, it finally can work now, @Biswa
– erinmon
May 19 '17 at 5:58
2
Android emulator compatibility with Hyper-V is currently in preview. See this announcement for details: blogs.msdn.microsoft.com/visualstudio/2018/05/08/…
– joslackMSFT
Jul 2 '18 at 23:20
Related post - Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?
– RBT
Aug 2 '18 at 5:16
Try this command to remove Hyper-V
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
. And also this commad to disable bcdedit /set hypervisorlaunchtype off
– Biswapriyo
May 17 '17 at 9:09
Try this command to remove Hyper-V
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
. And also this commad to disable bcdedit /set hypervisorlaunchtype off
– Biswapriyo
May 17 '17 at 9:09
i have tried both, it did not work at all, thanks your reply, :), there is no way i can solve it after i wasted two weeks, i have tried to use another emulator(visual studio emulator work with hyper-v) with android studio, it finally can work now, @Biswa
– erinmon
May 19 '17 at 5:58
i have tried both, it did not work at all, thanks your reply, :), there is no way i can solve it after i wasted two weeks, i have tried to use another emulator(visual studio emulator work with hyper-v) with android studio, it finally can work now, @Biswa
– erinmon
May 19 '17 at 5:58
2
2
Android emulator compatibility with Hyper-V is currently in preview. See this announcement for details: blogs.msdn.microsoft.com/visualstudio/2018/05/08/…
– joslackMSFT
Jul 2 '18 at 23:20
Android emulator compatibility with Hyper-V is currently in preview. See this announcement for details: blogs.msdn.microsoft.com/visualstudio/2018/05/08/…
– joslackMSFT
Jul 2 '18 at 23:20
Related post - Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?
– RBT
Aug 2 '18 at 5:16
Related post - Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?
– RBT
Aug 2 '18 at 5:16
add a comment |
2 Answers
2
active
oldest
votes
If you're running Windows 10 in an enterprise environment, there's a chance the problem could be new "virtualization based security" features in Windows. If Device Guard or Credential Guard are enabled on your machine, that machine is using Hyper-V's hypervisor.
To check if that's the case, follow the instructions on this page or use the Device Guard and Credential Guard hardware readiness tool. Copied and pasted:
- Click Start, type msinfo32.exe, and then click System Information.
- Click System Summary.
- Confirm that Credential Guard is shown next to Device Guard Security Services Running.
Typically, these features are enabled via Group Policy. If that's actually the root cause of the issue, you'll need to work within your organization to opt out of those policies.
One final note -- I do not recommend disabling Intel VT-x (as suggested by Will P), as I believe HAXM (the hypervisor used by the Android emulator) requires VT-x.
Full disclosure -- I work at Microsoft on the Hyper-V team.
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
add a comment |
On an ASUS Z170M-PLUS motherboard and most likely other motherboards
Intel® Virtualization Technology needs to be disabled via the bios to stop Hyper V services.
1. Reboot the machine.
2. Press delete or whatever key to enter the bios
3. Enter advanced mode and choose the advanced tab
4. Scroll down to Intel® Virtualization Technology and select disabled
5. Save and reboot the machine
BIOS Screenshot
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1209266%2fandroid-emulator-is-incompatiable-with-hyper-v-in-android-studio-no-hyper-v-ins%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If you're running Windows 10 in an enterprise environment, there's a chance the problem could be new "virtualization based security" features in Windows. If Device Guard or Credential Guard are enabled on your machine, that machine is using Hyper-V's hypervisor.
To check if that's the case, follow the instructions on this page or use the Device Guard and Credential Guard hardware readiness tool. Copied and pasted:
- Click Start, type msinfo32.exe, and then click System Information.
- Click System Summary.
- Confirm that Credential Guard is shown next to Device Guard Security Services Running.
Typically, these features are enabled via Group Policy. If that's actually the root cause of the issue, you'll need to work within your organization to opt out of those policies.
One final note -- I do not recommend disabling Intel VT-x (as suggested by Will P), as I believe HAXM (the hypervisor used by the Android emulator) requires VT-x.
Full disclosure -- I work at Microsoft on the Hyper-V team.
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
add a comment |
If you're running Windows 10 in an enterprise environment, there's a chance the problem could be new "virtualization based security" features in Windows. If Device Guard or Credential Guard are enabled on your machine, that machine is using Hyper-V's hypervisor.
To check if that's the case, follow the instructions on this page or use the Device Guard and Credential Guard hardware readiness tool. Copied and pasted:
- Click Start, type msinfo32.exe, and then click System Information.
- Click System Summary.
- Confirm that Credential Guard is shown next to Device Guard Security Services Running.
Typically, these features are enabled via Group Policy. If that's actually the root cause of the issue, you'll need to work within your organization to opt out of those policies.
One final note -- I do not recommend disabling Intel VT-x (as suggested by Will P), as I believe HAXM (the hypervisor used by the Android emulator) requires VT-x.
Full disclosure -- I work at Microsoft on the Hyper-V team.
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
add a comment |
If you're running Windows 10 in an enterprise environment, there's a chance the problem could be new "virtualization based security" features in Windows. If Device Guard or Credential Guard are enabled on your machine, that machine is using Hyper-V's hypervisor.
To check if that's the case, follow the instructions on this page or use the Device Guard and Credential Guard hardware readiness tool. Copied and pasted:
- Click Start, type msinfo32.exe, and then click System Information.
- Click System Summary.
- Confirm that Credential Guard is shown next to Device Guard Security Services Running.
Typically, these features are enabled via Group Policy. If that's actually the root cause of the issue, you'll need to work within your organization to opt out of those policies.
One final note -- I do not recommend disabling Intel VT-x (as suggested by Will P), as I believe HAXM (the hypervisor used by the Android emulator) requires VT-x.
Full disclosure -- I work at Microsoft on the Hyper-V team.
If you're running Windows 10 in an enterprise environment, there's a chance the problem could be new "virtualization based security" features in Windows. If Device Guard or Credential Guard are enabled on your machine, that machine is using Hyper-V's hypervisor.
To check if that's the case, follow the instructions on this page or use the Device Guard and Credential Guard hardware readiness tool. Copied and pasted:
- Click Start, type msinfo32.exe, and then click System Information.
- Click System Summary.
- Confirm that Credential Guard is shown next to Device Guard Security Services Running.
Typically, these features are enabled via Group Policy. If that's actually the root cause of the issue, you'll need to work within your organization to opt out of those policies.
One final note -- I do not recommend disabling Intel VT-x (as suggested by Will P), as I believe HAXM (the hypervisor used by the Android emulator) requires VT-x.
Full disclosure -- I work at Microsoft on the Hyper-V team.
answered Jun 29 '17 at 17:17
joslackMSFTjoslackMSFT
614
614
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
add a comment |
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
It seems that a fairly recent "Fast Ring" build of Windows 10 has changed the default behavior of virtualization based security, so that it's enabled by default, and rather difficult to turn off (haven't been able to permanently disable it). Since I need Intel HAXM to run Android Studio, I am in a perpetual state of disabling VBS, restarting, then using the emulator and eventually I'll need to do it again.
– jkane001
Mar 15 '18 at 1:42
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
More up to date instructions for disabling VBS can be found in this blog post: techcommunity.microsoft.com/t5/Windows-Insider-Program/…
– joslackMSFT
Jul 2 '18 at 23:21
add a comment |
On an ASUS Z170M-PLUS motherboard and most likely other motherboards
Intel® Virtualization Technology needs to be disabled via the bios to stop Hyper V services.
1. Reboot the machine.
2. Press delete or whatever key to enter the bios
3. Enter advanced mode and choose the advanced tab
4. Scroll down to Intel® Virtualization Technology and select disabled
5. Save and reboot the machine
BIOS Screenshot
add a comment |
On an ASUS Z170M-PLUS motherboard and most likely other motherboards
Intel® Virtualization Technology needs to be disabled via the bios to stop Hyper V services.
1. Reboot the machine.
2. Press delete or whatever key to enter the bios
3. Enter advanced mode and choose the advanced tab
4. Scroll down to Intel® Virtualization Technology and select disabled
5. Save and reboot the machine
BIOS Screenshot
add a comment |
On an ASUS Z170M-PLUS motherboard and most likely other motherboards
Intel® Virtualization Technology needs to be disabled via the bios to stop Hyper V services.
1. Reboot the machine.
2. Press delete or whatever key to enter the bios
3. Enter advanced mode and choose the advanced tab
4. Scroll down to Intel® Virtualization Technology and select disabled
5. Save and reboot the machine
BIOS Screenshot
On an ASUS Z170M-PLUS motherboard and most likely other motherboards
Intel® Virtualization Technology needs to be disabled via the bios to stop Hyper V services.
1. Reboot the machine.
2. Press delete or whatever key to enter the bios
3. Enter advanced mode and choose the advanced tab
4. Scroll down to Intel® Virtualization Technology and select disabled
5. Save and reboot the machine
BIOS Screenshot
answered Jun 26 '17 at 14:43
Will PWill P
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1209266%2fandroid-emulator-is-incompatiable-with-hyper-v-in-android-studio-no-hyper-v-ins%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Try this command to remove Hyper-V
dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
. And also this commad to disablebcdedit /set hypervisorlaunchtype off
– Biswapriyo
May 17 '17 at 9:09
i have tried both, it did not work at all, thanks your reply, :), there is no way i can solve it after i wasted two weeks, i have tried to use another emulator(visual studio emulator work with hyper-v) with android studio, it finally can work now, @Biswa
– erinmon
May 19 '17 at 5:58
2
Android emulator compatibility with Hyper-V is currently in preview. See this announcement for details: blogs.msdn.microsoft.com/visualstudio/2018/05/08/…
– joslackMSFT
Jul 2 '18 at 23:20
Related post - Can I run Android Studio (Android SDK emulator) in a Microsoft hyper-v virtual machine?
– RBT
Aug 2 '18 at 5:16