Flutter does not find android sdk

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

    In my case, I had these Folders and relevant things inside of them (C:\Users\Name\AppData\Local\Android\Sdk\platforms)

    and Error was this

    Solution

    Add System variables :

    1. Add folder paths of tools, build-tools, platform-tools to System variables -> Path

    C:\Users\Name\AppData\Local\Android\Sdk\tools

    C:\Users\Name\AppData\Local\Android\Sdk\build-tools

    C:\Users\Name\AppData\Local\Android\Sdk\platform-tools

    1. After that, close previous flutter_console.bat (or refresh your ide) and open it again then run "flutter doctor"

提交回复
热议问题