首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >flutter doctor在PowerShell中显示错误

flutter doctor在PowerShell中显示错误
EN

Stack Overflow用户
提问于 2020-11-15 05:04:18
回答 1查看 78关注 0票数 0

当我在PowerShell中输入flutter doctor时,它显示一个错误。我怎么才能修复它?

代码语言:javascript
复制
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>
EN

回答 1

Stack Overflow用户

发布于 2020-11-15 06:11:06

按照以下步骤进行Android Studio设置:Set up an editor

对于许可证,只需输入flutter doctor --android-licenses并按enter键,就像@julemand101所说的那样,然后接受终端中的所有许可证

现在可以忽略最后一个警告,因为您可能会在以后启动Emulator。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/64838596

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档