How to find the path of Flutter SDK

后端 未结 18 1843
南旧
南旧 2020-12-13 08:17

How to configure Flutter SDK? How to locate the Flutter SDK? I don\'t know the location of the SDK file.

\"Image\

相关标签:
18条回答
  • 2020-12-13 08:49

    If you installed flutter via the snap on linux then the sdk is likely to be in

    ~/snap/flutter/common/flutter
    
    0 讨论(0)
  • 2020-12-13 08:49

    There are many answers but the only thing that worked for me is to remove > bin from path.

    At various places, it is written that the path should be your_path/dart/bin or your_path/flutter/bin but the correct path that you need to enter is the following:

    your_path/dart 
    your_path/flutter
    
    0 讨论(0)
  • 2020-12-13 08:53

    To find the Flutter SDK path [ used Windows10 ]

    1. In your Android Studio home page on the bottom right click on Configure
    2. Then Click on SDK Manager
    3. Then on System Settings
    4. Then on AndroidSDK

    You will see the path at the top

    0 讨论(0)
  • 2020-12-13 08:56

    If you have the flutter SDK installed.

    Run:

    flutter doctor -v
    

    The first line will show the install path..

    (if you don't have it installed go to the documentation)

    0 讨论(0)
  • 2020-12-13 08:56

    Once you have downloaded the Flutter SDK for your specific OS.

    Unzip the file. Copy it to a better place. Your Flutter SDK path should be a_better_place/flutter. These would be used in tools such as VSCode or Android Studio.

    For command line, you would add a_better_place/flutter/bin. Such as export PATH=a_better_place/flutter/bin:$PATH

    0 讨论(0)
  • 2020-12-13 08:57

    I also had this problem and I solved it inserting my Flutter SDK path which was

    C:\...\flutter_windows_v0.6.0-beta\flutter

    0 讨论(0)
提交回复
热议问题