Flutter does not find android sdk

前端 未结 25 2221
花落未央
花落未央 2020-12-02 09:29

I just tried intalling flutter and since I already had android studio and the android sdk installed I just followed the installation of flutter. Here is my problem: When I r

25条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-02 10:13

    I assume this is this known issue https://github.com/flutter/flutter/issues/13750

    You need to fix the path to the SDK manually until this is fixed in the file

    my_flutter_project/android/local.properties
    

    update

    Add $ANDROID_HOME\sdk\tools and $ANDROID_HOME\sdk\platform-tools to the PATH environment variable.

提交回复
热议问题