admin管理员组

文章数量:1530359

AMDcpu电脑Windows环境下创建Android虚拟机

  • 步骤
    • 一、开启BIOS虚拟化设置
    • 二、启用Hyper-V
    • 三、结论


  是我在AMDcpu电脑上使用Android Studio时创建虚拟机遇到的问题,下载SDK Tools中的Android Emulator Hypervisor Driver for AMD Processors (installer) 时报错:

Running Android Emulator Hypervisor Driver for AMD Processors installer
[SC] ControlService 失败 1062:

服务尚未启动。

[SC] DeleteService 成功
[SC] StartService 失败 2:

系统找不到指定的文件。
Android Emulator Hypervisor Driver for AMD Processors installation failed. To install Android 
Emulator Hypervisor Driver for AMD Processors follow the instructions found at: https://githu
b/google/android-emulator-hypervisor-driver-for-amd-processors

Done

  查了一些资料看别人都是能顺利的Install 这个插件的。后面尝试一种方法没有下载这个Android Emulator Hypervisor Driver for AMD Processors (installer)插件也能成功运行Android虚拟机,放出来给大家参考,也希望大佬能告知我上面的错误是什么原因(报错的log贴在最后)。

步骤

一、开启BIOS虚拟化设置

  在bios里开启系统虚拟化,以我的微星主板为例,按DEL进入bios,选择OC,之后点击右侧菜单栏最下方的CPU Features,设置SVM Mode为Enabled。重启电脑,在命令提示符中输入systeminfo可以查看到是否启动虚拟化。

二、启用Hyper-V

  没错是启用Windows功能下的Hyper-VWindows 虚拟机监控程序平台。打开控制面板 ->程序-> 程序与功能 -> 启用或关闭Windows功能,将这两个功能勾选上。

本文标签: 虚拟机环境电脑AMDcpuandroid