简体   繁体   English

不支持虚拟化技术的硬件上的 Android Studio

[英]Android Studio on a hardware that does not support virtualization technology

I use Android Studio on Ubuntu Linux on a machine that does not support virtualization technology.我在不支持虚拟化技术的机器上使用 Ubuntu Linux 上的 Android Studio。 Android Studio demands KVM to be installed to run emulators, but I cannot do so due to the previously mentioned hardware limitation. Android Studio 需要安装 KVM 才能运行模拟器,但由于前面提到的硬件限制,我无法这样做。

Are there any options for me to overcome this issue (using the same hardware)?我有什么办法可以解决这个问题(使用相同的硬件)?

You'll have to run the ARM system images, which unfortunately will be super-slow, but it will work.您必须运行 ARM 系统映像,不幸的是,这会非常慢,但它会起作用。 As of now, you can't run x86 system images on an x86 platform at all without KVM.到目前为止,如果没有 KVM,您根本无法在 x86 平台上运行 x86 系统映像。 This will be true of anyone running an AMD processor;任何运行 AMD 处理器的人都是如此; HAXM is Intel-specific. HAXM 是特定于英特尔的。

You can also try the Genymotion emulator, which works on many platforms that can't run HAXM.您还可以尝试 Genymotion 模拟器,它可以在许多无法运行 HAXM 的平台上运行。

KVM should not be necessary for running an ARM emulator, only for x86 (see the documentation for VM acceleration ). KVM 应该不是运行 ARM 模拟器所必需的,仅适用于 x86(请参阅VM 加速文档)。

Have you tried creating an AVD using the ARM EABI instead of the Intel one?您是否尝试过使用 ARM EABI 而不是 Intel 来创建 AVD?

Virtualization extension requirements虚拟化扩展要求

Your computer's processor must support one of the following virtualization extension technologies:您计算机的处理器必须支持以下虚拟化扩展技术之一:

  • Intel Virtualization Technology Extensions ( VT, VT-x, vmx )英特尔虚拟化技术扩展( VT、VT-x、vmx
  • AMD Virtualization Extensions ( AMD-V, SVM ) AMD 虚拟化扩展( AMD-V、SVM

Most modern processors support these virtualization extensions.大多数现代处理器都支持这些虚拟化扩展。 If you are not sure if your processor supports these extensions, check the specifications on the manufacturer's site.如果您不确定您的处理器是否支持这些扩展,请查看制造商网站上的规格。 If it doesn't support any, you won't be able to use VM acceleration.如果它不支持任何,您将无法使用 VM 加速。

The ideal would be to use Android Studio in an ARM processor so that the emulator runs natively.理想的情况是在ARM 处理器中使用 Android Studio,以便模拟器在本地运行。

GL GL

Source 来源

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我可以在不启用虚拟化技术的情况下为 android 工作室运行模拟器吗 - can i run emulator for android studio without enabling Virtualization technology 我启用了硬件虚拟化,虚拟机管理程序关闭,仍显示HAXM - 不支持虚拟化错误 - I have hardware Virtualization Enabled, Hypervisor switched off, Still shows HAXM - Does not Support Virtualization Error 我的CPU不支持Intel虚拟化技术 - My cpu does not supprot intel virtualization technology 是英特尔虚拟化技术,用于在eclipse中模拟android - Is Intel Virtualization Technology for emulating android in eclipse 没有虚拟化技术的Android App开发? - Android App development without Virtualization Technology? 不幸的是,您的计算机不支持硬件加速的虚拟化。 在Ubuntu 14.04中 - Unfortunately, your computer does not support hardware accelerated virtualization. in ubundu 14.04 英特尔HAXM安装错误和hyper-v不存在-此计算机不支持英特尔虚拟化技术(VT-x) - Intel HAXM installation error and hyper-v doesn't exist - This computer does not support Intel Virtualization Technology (VT-x) Android是否支持检测硬件中断? - Does Android support the detection of hardware interrupts? 安装hxam后Android Studio硬件加速问题启用虚拟化nad禁用hyper-v - Android Studio Hardware acceleration issue after installing hxam enable virtualization nad disabling hyper-v 在安装 Android 时遇到有关英特尔虚拟化技术的错误 - Getting error about intel virtualization technology on Installing Android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM