flutter desktop application "error MSB3073: The command "setlocal "
S

2

11

I was building a flutter desktop app using vs code and all sudden was presented with this error completely unfamiliar with.

error

anyone with a solution on how to handle this, I appreciate

following is my flutter doctor log: enter image description here

Submarginal answered 24/8, 2022 at 7:48 Comment(2)
Can you add flutter doctor log.Sorry
added the flutter doctor logSubmarginal
S
12

Open visual studio installer, click on modify, then open Individual components.

Select latest Windows 10 SDK version and install it.

When SDK successfully installed

  • open Android studio.
  • flutter clean.
  • flutter run.

it should work.

Sorry answered 2/10, 2022 at 6:53 Comment(0)
S
1

Thanks, I had the same problem, I upgraded to Windows 10 latest SDK (in my case 10.0.20348.0) clean the cache and run using those CLI's:

  • flutter clean
  • flutter run

Work great :-)

Shamanism answered 24/3 at 13:31 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.