运行命令
whereis flutter。如果没有提供路径/输出,则说明您没有正确设置抖动路径。
将以下行添加到〜/ .bash_profile文件中:
`export PATH=<this is where you have to put your flutter path
/flutter/bin:$PATH
source ~/.bash_profile`
现在
whereis flutter应该给您正确的路径,您将不会
flutter: command not found

运行命令
whereis flutter。如果没有提供路径/输出,则说明您没有正确设置抖动路径。
将以下行添加到〜/ .bash_profile文件中:
`export PATH=<this is where you have to put your flutter path
/flutter/bin:$PATH
source ~/.bash_profile`
现在
whereis flutter应该给您正确的路径,您将不会
flutter: command not found