screenshot

我以各种方式改变了变量,重新启动了这个和那个,我就是不能解决这个问题,所以我在这里错过了什么?

PATH变量总是有效的,现在我删除了Visual Studio和Windows10SDK,并重新下载了它,一切似乎都失控了.

以下是我的3个问题的结果:



[  +33 ms] [☠] Flutter (the doctor check crashed)
[   +1 ms]     X Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
                 https://github.com/flutter/flutter/issues.
[        ]     X Exception: Cannot find the executable for `where`. This can happen if the System32 folder (e.g. C:\Windows\System32 ) is removed from the PATH environmentvariable.
                 Ensure that this is present and then try again after restarting the terminal and/or IDE.
[  +28 ms] [!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[        ]     • Android SDK at C:\Users\Tina\AppData\Local\Android\sdk
[        ]     X cmdline-tools component is missing
[        ]       Run `path/to/sdkmanager --install "cmdline-tools;latest"`
[        ]       See https://developer.android.com/studio/command-line for more details.
[        ]     X Android license status unknown.
[        ]       Run `flutter doctor --android-licenses` to accept the SDK licenses.
[        ]       See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[   +1 ms] [!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.5)
[        ]     • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
[        ]     • Visual Studio Community 2022 version 17.8.34511.84
[        ]     ! Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio.

推荐答案

打开Android Studio中的SDK管理器,查看Android SDK命令行工具

enter image description here

对于Android许可证,请在您的终端上运行此命令.

flutter doctor --android-licenses

Answer reference

Flutter相关问答推荐

Flutter bloc -如何使用BlocBuilder?

在Flutter中,CachedNetworks Image不工作(不从CachedData加载)

当仅点击一行时,所有行都被选中

如何将Will POP示波器转换为POP数据抖动的POP示波器

将图标呈现在Flutter 克牌小工具的角落上

如何将assets资源 实体类型转换为文件类型?

升级到Ffltter 3.16后,应用程序栏、背景 colored颜色 、按钮大小和间距都会发生变化

使用Ffltter CREATE创建项目时,androidManifest.xml中缺少包属性

抖动问题:检测到0个或2个或更多具有相同值的[DropdownMenuItem]

Flutter在CustomPainter的右上角和左上角添加了2条曲线

Riverpod 2.0-如何使用FutureOr和AutoDisposeSyncNotificationer处理api状态代码?

处理 flutter/dart 模型中的空值

在 Flutter 中解码 BLE 设备负载

Flutter应用无法上传到Microsoft Store

是否可以在 flutter 应用程序中使用 jetpack compose?

输入处于活动状态时如何设置文本字段标签的样式?

Flutter:如何从运行时创建的列表中访问单个子部件的值

Flutter - 异步文件读取异常处理

try 为两个下拉值添加共享首选项,但在 Flutter 上显示错误断言失败:?

如何从圆角go 除背景 colored颜色