Flutter command not found

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

    The best way to setup Flutter on Mac
    
        1. Open a new terminal window
        2. Type: git clone https://github.com/flutter/flutter.git -b stable
           Wait for the SDK to clone onto your machine
        3. Type: export PATH="$PATH:`pwd`/flutter/bin", which adds flutter tool to your path
        4. Type: flutter doctor , which downloads additional dependencies
    
        Wait for dependencies to download and install
    

提交回复
热议问题