技术员为你win10系统安卓模拟器使用的教程?

技术员为你win10系统安卓模拟器使用的教程??          也许还有很多win10朋友不清楚win10系统安卓模拟器使用的问题不知道解决,其实win10系统安卓模拟器使用的问题不是很难,但是大部分网友还是不清楚应该怎么办,于是小编也在网站查询搜集,最后整理出win10系统安卓模拟器使用的教程。步骤很简单,只需要1、开启 Hyper-V 虚拟化技术(已经开启的无视):选中控制面板->卸载程序->启动或关闭windows功能->Hyper-V->确定; 2.设置Andorid studio使其可以使用这些模拟器:打开Android studio> Run > Edit Configurations > defaults / Android Application /General 选项卡的 Target device 节点,勾选 show chooser dialog 和 Use same device for future launches 。 记得不要忘记点Apply和oK。就ok了。下面不知道的网友赶快学习一下win10系统安卓模拟器使用完整解决思路吧!

   1、开启 Hyper-V 虚拟化技术(已经开启的无视)

  选中控制面板->卸载程序->启动或关闭windows功能->Hyper-V->确定;

选中控制面板->卸载程序

 

启动或关闭windows功能

 

Hyper-V

 

windows功能

 

windows 功能1

 

  下载完后是一个40M左右的 vs_emulatorsetup.exe 文件,不包含安卓模拟器的镜像文件,安装的时候会默认在线下载Api 19(Andorid 4.4)的x86镜像,后续你也可以单独再下载其他的Api xx版本,另外说明一下, Visual studio Emulator for Android是不依赖Visual studio的,也就是说可以单独安装使用,Android studio是使用adb作为桥梁来连接 Visual studio Emulator for Android 。

  安装步骤我就不列出来了, 记得安装后重启(它需要把自己加入Hyper-V Administrators的管理员组里面) 。

  安装重启后打开 Visual studio Emulator for Android,如下所示:

安装重启后打开 Visual studio Emulator for Android

 

  如果你启动了模拟器,则会在Hyper-V里面自动创建出对应的x86的Android虚拟机来,笔者的如下:

在Hyper-V里面自动创建出对应的x86的Android虚拟机

 

  2.设置Andorid studio使其可以使用这些模拟器

  打开Android studio> Run > Edit Configurations > defaults / Android Application /General 选项卡的 Target device 节点,勾选 show chooser dialog 和 Use same device for future launches 。 记得不要忘记点Apply和oK。 如下图:

设置Andorid studio使其可以使用这些模拟器

 

  3. 为Android studio添加启动模拟器的快捷按钮

  虽然在Visual studio Emulator for Android的管理器窗口中可以启动模拟器,但是每次都要到这里面去打开还是比较繁琐的,故而我们为Android studio添加一个启动Visual studio Emulator for Android的快捷按钮。

  4. 配置External Tools

  打开 File > settings > External Tools > Add :

打开 File > settings > External Tools > Add

 

  name:随便写,方便你认出来就好,笔者的是 Vs Emulator (4.4 Api 19) 。