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

后端 未结 6 1024
一生所求
一生所求 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 17:44

    1. create an android project and see everything works fine.
    2. if Gradle sync problem with kotline : File -> Settings -> Kotlin Compiler -> Target JVM Version Changing to 1.8 fixed the issue.

    If everything run fine as android project then proced:

    1. File -> Settings ->Languages & frameworks->Flutter.
    2. select flutter sdk path as src\flutter and ok
    3. if step 4 not works then select path src\flutter\bin;

    Note:if android 10.0 not work then try it with 9.0;

提交回复
热议问题