Android emulator and virtualbox cannot run at same time

前端 未结 13 1067
無奈伤痛
無奈伤痛 2020-11-30 23:37

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) f         


        
13条回答
  •  失恋的感觉
    2020-12-01 00:27

    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.

提交回复
热议问题