0

When I open new project, It happens error like below. I installed flutter new version and put sdk path in right. but I don't get why can't build and error like this. I'll appreciate for your advice.

enter image description here

Dennis Kozevnikoff
  • 2,078
  • 3
  • 19
  • 29
Uranus_ly
  • 121
  • 1
  • 6
  • 1
    Can you run `flutter doctor` and share the log – Md. Yeasin Sheikh Aug 25 '22 at 13:44
  • /Users/shinheejin/Documents/Rocat/flutter/bin/flutter doctor --verbose /Users/shinheejin/Documents/Rocat/flutter/bin/flutter: line 41: dirname: command not found /Users/shinheejin/Documents/Rocat/flutter/bin/flutter: line 41: cd: : No such file or directory /Users/shinheejin/Documents/Rocat/flutter/bin/flutter: line 42: basename: command not found /Users/shinheejin/Documents/Rocat/flutter/bin/flutter: line 54: uname: command not found Process finished with exit code 127 – Uranus_ly Aug 25 '22 at 13:50
  • T.T help plz... – Uranus_ly Aug 25 '22 at 13:52
  • https://stackoverflow.com/q/50652071/10157127 may solve the issue – Md. Yeasin Sheikh Aug 25 '22 at 13:52

1 Answers1

1

Run flutter doctor if not fix check flutter update and run flutter upgrade.

sahilatahar
  • 568
  • 2
  • 13