How to find the path of Flutter SDK

后端 未结 18 1842
南旧
南旧 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:58

    Download flutter from FLUTTER

    or clone from master git clone -b master https://github.com/flutter/flutter.git

    So, the flutter sdk path is where you copied or cloned the code till the C:\whateverDrive\flutter inside bin there is a file flutter so when coming to choosing SDK, please select the folder till flutter and add the same in env variable in your windows. remember to add the path till bin that is enough.

    configuring the flutter sdk in android studio follow this carefully. This explains everything. ;)

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

    Assuming you have already installed Flutter Plugin if you have not installed then go to Android Studio IDE setting/preferences(MAC) --> plugin--> Browse Repositories and search Flutter then install and restart IDE

    Now follow these steps:-

    1. First of all go to https://flutter.io/get-started/install/ and download the Fluter SDK

    2. Then extract the zip file in any specified folder

    3. Now give this path as Fluter SDK

    That's it.

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

    Visit https://flutter.dev/docs/get-started/install/windows#update-your-path official page of Flutter

    for windows you can look an Evroitmen variabel with value name Path

    0 讨论(0)
  • 2020-12-13 09:00

    If you suppose unzipped the flutter zip file in folder called "Flutter". Your Flutter SDK Path will be <path_of_unzipped_file>\Flutter\flutter

    0 讨论(0)
  • 2020-12-13 09:01

    The Flutter SDK path is certainly defined in a place where you can check it or change it, whether you created the project or not. Under Settings > Languages & Frameworks there should be a Flutter section. I found it by using the handy search bar in the Settings menu.

    At the top of the Languages & Frameworks > Flutter is the Flutter SDK Path.

    This is assuming that Flutter/Dart have already been installed under Plugins.

    0 讨论(0)
  • 2020-12-13 09:04

    If flutter SDK is already downloaded in the system, then just add path using the below command. This tested on MAC OS

    export PATH='sdkpath':$PATH 
    

    Eg:

    export PATH='/Users/apple/dev/flutter/sdk/flutter/bin':$PATH 
    
    0 讨论(0)
提交回复
热议问题