问题描述
运行命令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
解决方法
我正在使用Linux。当尝试在终端中运行以下命令时:
flutter doctor --android-licenses
它向我显示以下错误:
颤动:找不到命令