Flutter command not found

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

    I faced this problem and I resolved it following these steps:

    1. : nano ~/.bash_profileexport

    2. : add this line: PATH=/Users/user/Documents/flutter_sdk/flutter/bin:$PATH make sure the dir to your flutter bin is correct.

    3. :source ~/.profile

提交回复
热议问题