-2

When I create a new project earlier, It told me to upgrade flutter. then I tried upgrading but i couldn't so i used "--force" to forced upgrade flutter. after that i can't debug my flutter apps. not specifically this app also the apps created before the upgrade aren't debugging.

error-screenshot-1

error-screenshot-2

here I attached screenshots of the error that comes up when I 'flutter run' the application.

sorry my english is not the best and thank you for your time.

4
  • switch channel, upgrade flutter, switch back, upgrade flutter again. Commented Jul 28, 2023 at 2:25
  • what do you mean by switch channel? Commented Jul 28, 2023 at 6:34
  • docs.flutter.dev/release/upgrade#switching-flutter-channels Commented Jul 28, 2023 at 7:00
  • just tried it. didn't work. the same error comming up Commented Jul 28, 2023 at 12:23

1 Answer 1

0

I reinstalled the visual studio. now everything is working as usual.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.