首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如果没有安装Android,就无法安装和运行用于VSCode的Android模拟器

如果没有安装Android,就无法安装和运行用于VSCode的Android模拟器
EN

Stack Overflow用户
提问于 2022-05-14 11:51:04
回答 1查看 595关注 0票数 0

我是VScode和颤振开发的新手。我试图在没有安装android的情况下在VScode中安装和运行一个Android模拟器。以下是我所遵循的步骤。

Code\Code.exe".

  • Extracted

  • 在"C:\Program \Microsoft与respectively.

  • Set flutter 3.0.0的E:\ as E:\flutter.

  • Downloaded tools_r26.1.1-windows“中安装了VScode,并将其解压到E:\Android .

  • in VScode中,使用VSCode终端中的以下命令安装了Dart和Flutter插件respectively.

  • Set SDK路径:”颤振配置-Android:\Android“。当我将“Android”值设置为"E:\Android“时,我会得到响应。我通过在系统和用户变量中的路径中添加E:\ step.

  • Updated \bin来重新启动IDE和goto环境变量中的路径。对Android文件夹也是这样做的。

  • 运行“颤振博士”,我得到以下响应

代码语言:javascript
运行
复制
    [√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.22000.675], locale en-IN)
    [X] Android toolchain - develop for Android devices
        X Unable to locate Android SDK.
          Install Android Studio from: https://developer.android.com/studio/index.html
          On first launch it will assist you in installing the Android SDK components.
          (or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
          If the Android SDK has been installed to a custom location, please use
          `flutter config --android-sdk` to update to that location.

    [X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
        ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
    [X] Visual Studio - develop for Windows
        X Visual Studio not installed; this is necessary for Windows development.
          Download at https://visualstudio.microsoft.com/downloads/.
          Please install the "Desktop development with C++" workload, including all of its default components
    [!] Android Studio (not installed)
    [√] VS Code, 64-bit edition (version 1.67.1)
    [√] Connected device (2 available)
    [√] HTTP Host Availability

    ! Doctor found issues in 4 categories.

  1. 当我尝试使用ctrl+shift+p启动仿真器并选择Flutter:Launse仿真器时,我可以使用折叠错误

代码语言:javascript
运行
复制
    avdmanager is missing from the Android SDK

我这里需要帮助。提前谢谢你。

EN

回答 1

Stack Overflow用户

发布于 2022-05-14 11:54:54

查看屏幕底部的build选项卡,它将显示错误消息和安装构建工具的选项。安装它,你应该能够看到AVD经理。另一种方法是转到SDK管理器。在SDK工具下,您将找到Android构建工具。参考资料来自https://www.tektutorialshub.com/android-studio/avd-manager-sdk-manager-missing-or-greyed-out-in-android-studio

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72239910

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档