【发布时间】:2021-04-19 06:17:04
【问题描述】:
我正在关注 Flutter 官方文档,在 .bash_profile 中添加 Flutter Path,以便在终端上运行命令,但它给了我错误
-bash: flutter: command not found
有没有什么快速的方法可以在 android studio 中为 Android 开发者添加 Flutter 支持。我正在尝试找到在运行的 Android 环境中添加 Flutter 支持的简单方法。
我的 .bash_profile 包含以下行:
export PATH="$PATH:$HOME/Developer/flutter/bin"
我已经尝试了所有可能的答案,但没有运气。 PS我使用的是bash而不是zsh。
【问题讨论】:
-
您能发布相关的
.bash_profile代码示例吗?.bash_profile中的其他命令是否正确执行?
标签: android bash macos flutter