-
This is actually more a question about Android Studio rather than Puro, but I have encountered this problem as a result of using Puro, so I'll try to ask here. But if I try to execute any flutter command (e.g. 'flutter doctor') in Android Studio's Terminal, I receive the error "zsh: command not found: flutter" because the Terminal cannot see Flutter's SDK path. The interesting thing is that Visual Studio Code, instead, has an option (enabled by default) called "Dart: Add Sdk to Terminal Path" that allow to call flutter commands from Terminal. And here they work! I tried to search some info about Android Studio, but I haven't been able to make it work. Any suggestion about this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
It should be automatically added to your PATH, ensure:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer! |
Beta Was this translation helpful? Give feedback.
To use the project-specific flutter version you need to use the subcommand
puro flutter
orpuro dart
, create an issue on the flutter-intellij repo if you want a similar option as VSCode's "Add Sdk to Terminal Path".