Android模拟器和VirtualBox的不能在同一时间运行 [英] Android emulator and virtualbox cannot run at same time
问题描述
每当我有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
我怎样才能让在同一时间都运行?
How can I make both run at the same time?
这是Ubuntu的64位,所有参与软件的最新版本。
That is a Ubuntu 64 bit, all involved software is of the latest released version.
推荐答案
卸下KVM内核模块(使用'须藤rmmod的kvm_intel KVM')能够运行VirtualBox和同时Android模拟器,但表现在这样的设置Android模拟器是极其恶劣的。如果可能的话,最好是关闭VirtualBox的仿真器和运行sudo的/etc/init.d/vboxdrv停止'卸载其驱动程序(vboxdrv)。谷歌暗示这对Linux的部分在其 Android模拟器页面的解决方案。
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屋!