Android emulator 如何在Visual Studio 2017中打开Google Android Emulator

Android emulator 如何在Visual Studio 2017中打开Google Android Emulator,android-emulator,visual-studio-2017,Android Emulator,Visual Studio 2017,我最近从VisualStudio安装程序下载了Google Android Emulator。在此之前,我使用的是针对Android的VisualStudioEmulator。但VisualStudioEmulator并没有API 25,所以我决定下载Google Android Emulator 现在,我在VS17中的任何地方都看不到Google Android Emulator作为选项 请告诉我如何在VS17中打开Google Android Emulator 谢谢。您不仅要避免使用VS2

我最近从VisualStudio安装程序下载了Google Android Emulator。在此之前,我使用的是针对Android的VisualStudioEmulator。但VisualStudioEmulator并没有API 25,所以我决定下载Google Android Emulator

现在,我在VS17中的任何地方都看不到Google Android Emulator作为选项

请告诉我如何在VS17中打开Google Android Emulator


谢谢。

您不仅要避免使用VS2017模拟器,还要避免使用其内置的Android SDK,因为它们已经完全过时了。

首先

之后,返回Visual Studio,转到工具>选项>Apache Cordova工具>环境变量覆盖,并将您的ADT_主页设置为以前使用SDK安装程序安装Android SDK的路径

现在,您将使用从SDK管理器安装的最新构建工具。如果您在AVD管理器中创建了一个模拟器,它将用于模拟您的应用程序。如果您创建了多个仿真器,只需启动(从AVD管理器手动启动)所需的仿真器,然后从Visual Studio部署到仿真器。打开的emulator将用于部署应用程序


注意:更改ADT_主页将导致Visual Studio启动按钮更改其选项,现在您将在设备列表中看到Google Android Emulator。

非常感谢。对我来说效果很好