Flutter command not found

前端 未结 30 1329
独厮守ぢ
独厮守ぢ 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

    You can easily create a symbolic link as below,

    sudo ln -s /opt/flutter/bin/flutter /usr/bin/flutter
    

    I had moved flutter into /opt/ folder after downloading, so replace with the path you have flutter directory.

    flutter command should work even after rebooting your machine.

提交回复
热议问题