首页 > 其他分享 >bash: flutter: command not found

bash: flutter: command not found

时间:2023-02-19 16:46:10浏览次数:34  
标签:Terminal command found 执行 flutter bash

在终端可以执行flutter命令,而在Android studio的Terminal上面执行flutter命令,报错

bash: flutter: command not found。

如何确保环境变量配置正确
1、在Terminal上面执行:

source /Users/lixiangyang/.bash_profile

2、执行

flutter doctor -v

 如果出现了flutter版本信息,则说明配置正常。

标签:Terminal,command,found,执行,flutter,bash
From: https://www.cnblogs.com/lixiangyang521/p/17134981.html

相关文章