gpt4 book ai didi

android - 在 VS Code for Flutter 应用程序上调试时出现问题

转载 作者:行者123 更新时间:2023-12-04 10:13:06 26 4
gpt4 key购买 nike

我已卸载 Android Studio 昨天没有删除 SDK 文件和模拟器,所以现在当我尝试运行时 flutter doctor在命令行中它记录了这个:-

Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\Users\Omar>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.9, on Microsoft Windows [Version 10.0.10240], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed
instructions.
[!] Android Studio (version 3.6)
X Unable to determine bundled Java version.
[√] IntelliJ IDEA Community Edition (version 2019.3)
[√] VS Code (version 1.44.1)
[√] Connected device (1 available)

! Doctor found issues in 2 categories.

C:\Users\Omar>
  • 那么我该如何解决这些问题才能从 VS Code 中正常运行,并且
    不安装 Android Studio ??
  • 最佳答案

    来自 Flutter 的 install guide :

    Note: Flutter relies on a full installation of Android Studio to supply its Android platform dependencies. However, you can write your Flutter apps in a number of editors.

    关于android - 在 VS Code for Flutter 应用程序上调试时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61229618/

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