我以各种方式改变了变量,重新启动了这个和那个,我就是不能解决这个问题,所以我在这里错过了什么?
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.