英文:
On Ubuntu 22.04, cannot run Android emulator and Virtualbox at same time (Guru Meditation)
问题
我正在运行Ubuntu 22.04操作系统。
我需要在VirtualBox虚拟机内开发一个带有Ubuntu服务器的Android应用程序。问题是,我无法同时运行服务器和模拟器,因为VirtualBox出现了“Guru Meditation”错误。我应该怎么做?
虚拟机的当前设置是:
- Paravirtualization interface: 默认
- Hardware Virtualization: 启用Nested Paging
- Nested VT-x/AMD-V: 未选中
英文:
I'm running Ubuntu 22.04 OS.
I need to develop an Android application with an Ubuntu server inside a VirtualBox virtual machine.The problem is that I completely cannot run both the server and the emulator at the same time since I get the "Guru Meditation" error on VirtualBox. What should I do?
The current settings in the virtual machine are:
- Paravirtualization interface: Default
- Hardware Virtualization: Enable Nested Paging
- Nested VT-x/AMD-V: Unchecked
答案1
得分: 1
抱歉,我不能只返回代码部分的翻译。如果您需要整段文本的翻译,请让我知道。
英文:
> Guru Meditation error This means that something on your host is using
> VT-x/AMD-v, which means that VirtualBox can't use it.
Have you tried to use docker for your server?
Your problem is you are trying to run two different virtualization solutions and they get in conflict.
A possible solution could be to use docker since it does not use hardware virtualization.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论