Would Dual Booting Ubuntu with Windows effect Android Studio Emulator?
My Development machine is dual boot Windows 10 and Ubuntu 18.10.
I'm trying to use Flutter on Ubuntu 18.10 and everything seems to be working fine except for Android Studio AVD (Android Virtual Device.) Whenever I run the device it throws a very weird error about the emulator. I've scoured for a solutions and no useful fixes have turned up.
I decided to try and install and run Flutter on the Windows side (mostly to see if it was a hardware thing or if something was going on with Ubuntu.) It again kept throwing strange errors about the emulator until I figured out that Hyper-V was interfering with HAXM. Once I disabled Hyper-V, everything worked perfectly.
The main question I have is: Does dual booting Ubuntu somehow block AVD from accessing KVM in Ubuntu? It seems it does since I saw one VM interfere with HAXM and could draw the conclusion that there is a similar process interfering with KVM.
If it does is there a work around?
Any input would be greatly appreciated since I'm kinda lost as to what's going on.
UPDATE:
Here are the two errors AVD throws before it crashes:
Emulator: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]
Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
dual-boot kvm android-studio android-emulator
add a comment |
My Development machine is dual boot Windows 10 and Ubuntu 18.10.
I'm trying to use Flutter on Ubuntu 18.10 and everything seems to be working fine except for Android Studio AVD (Android Virtual Device.) Whenever I run the device it throws a very weird error about the emulator. I've scoured for a solutions and no useful fixes have turned up.
I decided to try and install and run Flutter on the Windows side (mostly to see if it was a hardware thing or if something was going on with Ubuntu.) It again kept throwing strange errors about the emulator until I figured out that Hyper-V was interfering with HAXM. Once I disabled Hyper-V, everything worked perfectly.
The main question I have is: Does dual booting Ubuntu somehow block AVD from accessing KVM in Ubuntu? It seems it does since I saw one VM interfere with HAXM and could draw the conclusion that there is a similar process interfering with KVM.
If it does is there a work around?
Any input would be greatly appreciated since I'm kinda lost as to what's going on.
UPDATE:
Here are the two errors AVD throws before it crashes:
Emulator: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]
Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
dual-boot kvm android-studio android-emulator
2
The specific error about the emulator would be useful to know about, since you haven't shared it we can't really give any assitance here. Typically however dual booting would not affect Android Studio or its emulator.
– Thomas Ward♦
Dec 3 '18 at 1:01
Agreed. Dual booting alone doesn't have any effect at all on the Android emulator. But something you haven't told us about might. Try including more details about your situation, such as specific error messages, configuration changes you have made, etc.
– Michael Hampton
Dec 3 '18 at 1:15
Thanks for the input guys. I added the two error codes thrown.
– James
Dec 3 '18 at 17:14
That's a strange one. Has the Android emulator ever run with acceleration enabled under Ubuntu on this PC? What processor does this PC have?
– Michael Hampton
Dec 3 '18 at 20:55
add a comment |
My Development machine is dual boot Windows 10 and Ubuntu 18.10.
I'm trying to use Flutter on Ubuntu 18.10 and everything seems to be working fine except for Android Studio AVD (Android Virtual Device.) Whenever I run the device it throws a very weird error about the emulator. I've scoured for a solutions and no useful fixes have turned up.
I decided to try and install and run Flutter on the Windows side (mostly to see if it was a hardware thing or if something was going on with Ubuntu.) It again kept throwing strange errors about the emulator until I figured out that Hyper-V was interfering with HAXM. Once I disabled Hyper-V, everything worked perfectly.
The main question I have is: Does dual booting Ubuntu somehow block AVD from accessing KVM in Ubuntu? It seems it does since I saw one VM interfere with HAXM and could draw the conclusion that there is a similar process interfering with KVM.
If it does is there a work around?
Any input would be greatly appreciated since I'm kinda lost as to what's going on.
UPDATE:
Here are the two errors AVD throws before it crashes:
Emulator: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]
Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
dual-boot kvm android-studio android-emulator
My Development machine is dual boot Windows 10 and Ubuntu 18.10.
I'm trying to use Flutter on Ubuntu 18.10 and everything seems to be working fine except for Android Studio AVD (Android Virtual Device.) Whenever I run the device it throws a very weird error about the emulator. I've scoured for a solutions and no useful fixes have turned up.
I decided to try and install and run Flutter on the Windows side (mostly to see if it was a hardware thing or if something was going on with Ubuntu.) It again kept throwing strange errors about the emulator until I figured out that Hyper-V was interfering with HAXM. Once I disabled Hyper-V, everything worked perfectly.
The main question I have is: Does dual booting Ubuntu somehow block AVD from accessing KVM in Ubuntu? It seems it does since I saw one VM interfere with HAXM and could draw the conclusion that there is a similar process interfering with KVM.
If it does is there a work around?
Any input would be greatly appreciated since I'm kinda lost as to what's going on.
UPDATE:
Here are the two errors AVD throws before it crashes:
Emulator: qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.80000001H:ECX.abm [bit 5]
Emulator: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
dual-boot kvm android-studio android-emulator
dual-boot kvm android-studio android-emulator
edited Dec 3 '18 at 17:13
asked Dec 3 '18 at 0:58
James
1013
1013
2
The specific error about the emulator would be useful to know about, since you haven't shared it we can't really give any assitance here. Typically however dual booting would not affect Android Studio or its emulator.
– Thomas Ward♦
Dec 3 '18 at 1:01
Agreed. Dual booting alone doesn't have any effect at all on the Android emulator. But something you haven't told us about might. Try including more details about your situation, such as specific error messages, configuration changes you have made, etc.
– Michael Hampton
Dec 3 '18 at 1:15
Thanks for the input guys. I added the two error codes thrown.
– James
Dec 3 '18 at 17:14
That's a strange one. Has the Android emulator ever run with acceleration enabled under Ubuntu on this PC? What processor does this PC have?
– Michael Hampton
Dec 3 '18 at 20:55
add a comment |
2
The specific error about the emulator would be useful to know about, since you haven't shared it we can't really give any assitance here. Typically however dual booting would not affect Android Studio or its emulator.
– Thomas Ward♦
Dec 3 '18 at 1:01
Agreed. Dual booting alone doesn't have any effect at all on the Android emulator. But something you haven't told us about might. Try including more details about your situation, such as specific error messages, configuration changes you have made, etc.
– Michael Hampton
Dec 3 '18 at 1:15
Thanks for the input guys. I added the two error codes thrown.
– James
Dec 3 '18 at 17:14
That's a strange one. Has the Android emulator ever run with acceleration enabled under Ubuntu on this PC? What processor does this PC have?
– Michael Hampton
Dec 3 '18 at 20:55
2
2
The specific error about the emulator would be useful to know about, since you haven't shared it we can't really give any assitance here. Typically however dual booting would not affect Android Studio or its emulator.
– Thomas Ward♦
Dec 3 '18 at 1:01
The specific error about the emulator would be useful to know about, since you haven't shared it we can't really give any assitance here. Typically however dual booting would not affect Android Studio or its emulator.
– Thomas Ward♦
Dec 3 '18 at 1:01
Agreed. Dual booting alone doesn't have any effect at all on the Android emulator. But something you haven't told us about might. Try including more details about your situation, such as specific error messages, configuration changes you have made, etc.
– Michael Hampton
Dec 3 '18 at 1:15
Agreed. Dual booting alone doesn't have any effect at all on the Android emulator. But something you haven't told us about might. Try including more details about your situation, such as specific error messages, configuration changes you have made, etc.
– Michael Hampton
Dec 3 '18 at 1:15
Thanks for the input guys. I added the two error codes thrown.
– James
Dec 3 '18 at 17:14
Thanks for the input guys. I added the two error codes thrown.
– James
Dec 3 '18 at 17:14
That's a strange one. Has the Android emulator ever run with acceleration enabled under Ubuntu on this PC? What processor does this PC have?
– Michael Hampton
Dec 3 '18 at 20:55
That's a strange one. Has the Android emulator ever run with acceleration enabled under Ubuntu on this PC? What processor does this PC have?
– Michael Hampton
Dec 3 '18 at 20:55
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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%2faskubuntu.com%2fquestions%2f1098038%2fwould-dual-booting-ubuntu-with-windows-effect-android-studio-emulator%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f1098038%2fwould-dual-booting-ubuntu-with-windows-effect-android-studio-emulator%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
2
The specific error about the emulator would be useful to know about, since you haven't shared it we can't really give any assitance here. Typically however dual booting would not affect Android Studio or its emulator.
– Thomas Ward♦
Dec 3 '18 at 1:01
Agreed. Dual booting alone doesn't have any effect at all on the Android emulator. But something you haven't told us about might. Try including more details about your situation, such as specific error messages, configuration changes you have made, etc.
– Michael Hampton
Dec 3 '18 at 1:15
Thanks for the input guys. I added the two error codes thrown.
– James
Dec 3 '18 at 17:14
That's a strange one. Has the Android emulator ever run with acceleration enabled under Ubuntu on this PC? What processor does this PC have?
– Michael Hampton
Dec 3 '18 at 20:55