Flutter SDK is not found in the specified location - in Android Studio

后端 未结 6 1023
一生所求
一生所求 2020-12-16 17:42

I am installing Flutter and everything is good exept one thing, specified above.

Flutter doctor says this:

$ flutter doctor -v

[√] Flutter (C         


        
6条回答
  •  佛祖请我去吃肉
    2020-12-16 18:01

    The same problem faced me, but trying the above solution was not helpful. So I tried another thing:

    1. Open File
    2. Select settings from the File menu
    3. Select Languages & frameworks from the left panel
    4. Select Flutter
    5. Then from the right panel choose the location of your flutter SDK

    The location of flutter SDK is where you copied or cloned the code. In my case it was like the following:
    If the specified location contains the flutter SDK, the version section will contain your flutter version. If not, the version section will not contain any versions and there will be a message in the bottom of the setting dialog saying:

    Flutter SDK Is Not Found In The Specified Location

    Hope this helps.

提交回复
热议问题