Flutter command not found

前端 未结 30 1454
独厮守ぢ
独厮守ぢ 2020-11-29 16:54
bash: flutter: command not found

Apparently, none of the flutter commands are working on the terminal of an android studio which I believe I am tryi

30条回答
  •  旧时难觅i
    2020-11-29 17:22

    In my case, I put that line export PATH=[PATH_TO_FLUTTER_GIT_DIRECTORY]/flutter/bin:$PATH to both file .bash_profile and .bashrc (put it on the last line). After that, run source .bash_profile and source .bashrc. Now it's working!, even if you close the terminal.

提交回复
热议问题