简体   繁体   English

在Windows 10 Home上使用Android Studio模拟器

[英]Using Android Studio Emulator on Windows 10 Home

I'm kinda a beginner to Android Studio and I couldn't find a solution for this problem. 我是Android Studio的初学者,我找不到解决这个问题的方法。 I've always used Android Studio on my MacBook, but now I needed to use it in my PC. 我一直在MacBook上使用Android Studio,但现在我需要在我的电脑上使用它。 The problem is, when I try to run the emulator, it tells that I need to enable VT-x. 问题是,当我尝试运行模拟器时,它告诉我需要启用VT-x。 I enabled it from my BIOS settings, but I also needed to enable it from control panel in system functions. 我从BIOS设置启用了它,但我还需要从系统功能的控制面板启用它。 The problem is that, reading around, I've found that Hyper-v function can be enabled only in Windows 10 Pro version, while I own a Home version. 问题是,在阅读时,我发现Hyper-v功能只能在Windows 10 Pro版本中启用,而我拥有Home版本。 Now, I can't use Android Studio Emulator in my PC only cause I don't own Windows 10 Pro? 现在,我不能在我的PC上使用Android Studio Emulator,因为我没有Windows 10 Pro? That sounds kinda weird to me... 这对我来说听起来有点奇怪......

Some help would be really appreciated. 一些帮助将非常感激。

Android Studio Emulator runs on Windows 10 Home. Android Studio Emulator在Windows 10 Home上运行。 In my case, HAXM was installed but only partially because virtualization was not enabled. 就我而言,HAXM已安装但仅部分因为未启用虚拟化。

For HAXM to install correctly, Virtualization must be enabled on the Intel CPU and this can be done through the UEFI bios settings. 要正确安装HAXM,必须在Intel CPU上启用虚拟化,这可以通过UEFI bios设置完成。 It is normally disabled by default, so if this has not been specifically enabled it will probably still be disabled and HAXM installation will not finish installing. 它通常在默认情况下处于禁用状态,因此如果未特别启用它,它可能仍会被禁用,并且HAXM安装将无法完成安装。

You can download a cpu utility such as Speccy to see if the Virtualization status is enabled or disabled and then re-install HAXM after Virtualization is enabled. 您可以下载一个cpu实用程序(如Speccy)以查看是否已启用或禁用虚拟化状态,然后在启用虚拟化后重新安装HAXM。 Android Studio Emulator should then run on Windows 10 Home without problems. 然后,Android Studio Emulator应该可以在Windows 10 Home上运行而不会出现问题。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM