Flutter does not find android sdk

前端 未结 25 2214
花落未央
花落未央 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:31

    For me, adding the Android SDK path didn't help.

    I deleted all my SDKs (basically just deleted that Android folder. Used this path "C:\Users\your_user_name\AppData\Local\Android" to locate it.)

    I then reinstalled all the required SDKs using android studio. (Be sure to install more than 1 SDK, I don't know why it doesn't work if you only install 1).

    Then if I run Flutter Doctor, every thing works perfectly.

提交回复
热议问题