Skip to content

Flutter doctor says that I am missing Visual Studio but I have installed the exact versions #55603

@noxware

Description

@noxware

I have been trying to install flutter for desktop but flutter doctor says that I am missing Visual Studio even though I have even installed the exact version of the Windows 10 SDK.

flutter doctor -v output:

[√] Flutter (Channel master, v1.18.0-9.0.pre.6, on Microsoft Windows [Version 10.0.18363.778], locale en-US)
    • Flutter version 1.18.0-9.0.pre.6 at C:\flutter
    • Framework revision 35edbe3d9d (6 hours ago), 2020-04-24 09:38:49 -0700
    • Engine revision 2b94311a77
    • Dart version 2.9.0 (build 2.9.0-3.0.dev 94178e920e)


[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Noxware\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[X] Visual Studio - develop for Windows
    X Visual Studio not installed; this is necessary for Windows development.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including the following components:
        MSBuild
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        Windows 10 SDK (10.0.17763.0)

[!] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.44.2)
    • VS Code at C:\Users\Noxware\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.9.1

[√] Connected device (1 available)
    • Windows • Windows • windows-x64 • Microsoft Windows [Version 10.0.18363.778]

! Doctor found issues in 3 categories.

Screenshot:

screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: desktopRunning on desktopplatform-windowsBuilding on or for Windows specificallyt: flutter doctorProblem related to the "flutter doctor" tooltoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions