我使用Flutter开发Windows桌面程序,我安装了Visual Studio 2019 Enterprise,完全安装后超过50G。我刚刚安装了可以更改D驱动器路径的部件。但是执行Flutter Doctor之后,为什么出现以下提示?
error:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 1.23.0-7.0.pre, on Microsoft Windows [Version 10.0.18363.1082], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[!] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.0.0)
X The current Visual Studio installation is incomplete. Please reinstall Visual Studio.
[√] Android Studio (version 4.0)
[!] IntelliJ IDEA Community Edition (version 2019.3)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] IntelliJ IDEA Ultimate Edition (version 2018.1)
[√] Connected device (1 available)
! Doctor found issues in 3 categories.
答案 0 :(得分:0)
来自doctor
的特定错误消息表示vswhere
工具报告isComplete
属性为false。这意味着您的Visual Studio安装存在问题(或至少Microsoft的工具认为存在问题)。