Flutter command not found

前端 未结 30 1464
独厮守ぢ
独厮守ぢ 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条回答
  •  广开言路
    2020-11-29 17:16

    To those who still don't have the solution, it's because your path is wrong. Putting it in .bashrc or .profile works as long as your path is correct. Please check your flutter directory and see where the folder bin is located. mine looks like this

    export PATH=$HOME/flutter/flutter/bin:$PATH
    

提交回复
热议问题