gpt4 book ai didi

android-emulator - 如何在 Visual Studio 2017 中打开 Google Android 模拟器

转载 作者:行者123 更新时间:2023-12-01 03:12:14 25 4
gpt4 key购买 nike

我最近从 Visual Studio Installer 下载了 Google Android Emulator。在此之前,我使用的是适用于 Android 的 Visual Studio 模拟器。但是 Visual Studio Emulator 没有 API 25,所以我决定下载 Google Android Emulator。

Image of downloaded Google Android Emulator in Visual Studio Installer

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

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

谢谢你。

最佳答案

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

一、install the Android SDK tools v24 (for the GUI) then update the emulators to v27 .

之后,返回 Visual Studio,转到工具 > 选项 > Apache Cordova 工具 > 环境变量覆盖并设置您的 ADT_HOME 到您之前使用 SDK Installer 安装 Android SDK 的路径

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

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

关于android-emulator - 如何在 Visual Studio 2017 中打开 Google Android 模拟器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51302325/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com