报错信息如下:
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
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 Windows install | Flutter for more details.
解决方法:
设置下SDK tools的路径
使用如下命令设置自己的Android tools的路径
flutter config --android-sdk "D:\Android\Sdk"
结果如下