I installed Android Studio on my computer to develop my flutter and dart project.
However, I downloaded the flutter folder for macos silicon from the flutter site and added it to a folder named "yusa".
I exported many file paths with the "nano .zshrc" command, but no matter what I do, when I type "flutter" or "flutter doctor" into the terminal, "zsh: command not found: flutter".
I get an error. My computer does not recognize flutter.
My problem has been going on for days and I need your help.
Thank you all in advance.
2
Answers
I solved the problem.
My .zshrc path was as follows:
I asked the AI to edit it correctly for me. He suggested me to edit it like this and my problem was solved.
I have had the same issue once. I ended up solving it by making a symlink to the
/Users/myusername/flutter/bin/flutter
in the binary directory. In your case:It’s far from perfect, but it works. Besides, the actual
flutter/bin
directory only contains two executables:flutter
anddart
.Hope this helps!