skip to Main Content

I’m experiencing below error in my Wondows 10 PC during flutter installation.
I’m attaching pictures as well. I retried removal and reinstallation below versions as well as version 11 SDK.

  1. Windows 10 SDK (10.0.20348.0)
  2. Windows 10 SDK (10.0.19041.0)
  3. Windows 10 SDK (10.0.18362.0)
    enter image description here

ERROR
"! Unable to locate a Windows 10 SDK. If building fails, install the Windows 10 SDK in Visual Studio."
enter image description here

As I’m using office PC I can not reinstall windows in any way. Can anyone suggest me solution please?

I tried reinstallation as well as tried some forum solutions. Nothing worked for me!

2

Answers


  1. I had the same issue and resolved it by installing Visual Studio Build Tools.

    The Flutter documentation at https://docs.flutter.dev/get-started/install/windows#windows-setup advises to install either Visual Studio or Visual Studio Build Tools. Be sure to include the "Desktop development with C++" component when installing (you’ll see it as an option during the installation process).

    Login or Signup to reply.
  2. Try to troubleshoot by running flutter doctor -vv in cmd.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search