Android模拟器和virtualbox不能同时运行 [英] Android emulator and virtualbox cannot run at same time

查看:54
本文介绍了Android模拟器和virtualbox不能同时运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我运行 Virtualbox 时,我都无法启动 Android 模拟器映像(反之亦然).AVD 管理器中的错误消息是

Whenever I have Virtualbox running, I cannot start an Android emulator image (and vice versa). The error message in the AVD manager is

ioctl(KVM_CREATE_VM) failed: Device or resource busy
ko:failed to initialize KVM

如何让两者同时运行?

这是一个64位的Ubuntu,所有涉及的软件都是最新发布的版本.

That is a Ubuntu 64 bit, all involved software is of the latest released version.

推荐答案

移除 kvm 内核模块(使用 'sudo rmmod kvm_intel kvm')可以同时运行 Virtualbox 和 Android 模拟器,但性能这种设置中的 Android 模拟器非常糟糕.如果可能,最好关闭 Virtualbox 模拟器并通过运行sudo/etc/init.d/vboxdrv stop"卸载其驱动程序(vboxdrv).Google 在其 Android 模拟器页面上建议了这个解决方案"关于 Linux 的部分.

Removing the kvm kernel modules (using 'sudo rmmod kvm_intel kvm') makes it possible to run the Virtualbox and the Android emulator at the same time but the performance of the Android emulator in such a setup is extremely bad. If possible it is better to shutdown the Virtualbox emulator and unload its driver (vboxdrv) by running 'sudo /etc/init.d/vboxdrv stop'. Google suggests this "solution" on its Android Emulator page in the section about Linux.

这篇关于Android模拟器和virtualbox不能同时运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆