当我在PowerShell中输入flutter doctor时,它显示一个错误。我怎么才能修复它?
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\Acer> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [Version 10.0.18363.1198], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
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.
[!] Android Studio (version 4.1.0)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
PS C:\Users\Acer>发布于 2020-11-15 06:11:06
按照以下步骤进行Android Studio设置:Set up an editor
对于许可证,只需输入flutter doctor --android-licenses并按enter键,就像@julemand101所说的那样,然后接受终端中的所有许可证
现在可以忽略最后一个警告,因为您可能会在以后启动Emulator。
https://stackoverflow.com/questions/64838596
复制相似问题