设置颤动 [英] Setting up flutter
本文介绍了设置颤动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是扑扑的新手,并且在跑扑医生时遇到问题.我已将文件提取到另一个文件夹中,并尝试设置路径,echo $ PATH给出
I am new to flutter and having problem running flutter doctor. I have extracted the files in another folder and tried setting the path, echo $PATH gives
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
但仍在运行flutter doctor
时说
找不到Flutter命令
flutter command is not found
任何可以帮助的人吗?
推荐答案
尚未在PATH中设置Flutter. 尝试: 步骤1:
Flutter is not yet set in your PATH. Try: Step 1:
sudo nano .profile
第2步:
export PATH="<Path To extracted Flutter directory>/bin:$PATH"
第3步:
source .profile
这篇关于设置颤动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文