Flutter does not find android sdk

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

    Flutter provides a command to update the Android SDK path:

    flutter config --android-sdk < path to your sdk >

    OR

    If you are facing this issue --> sdk file is not found in android-sdk\build-tools\28.0.3\aapt.

    You may have probably not installed build tools for this Api level, Which can be installed through this link https://androidsdkmanager.azurewebsites.net/Buildtools

提交回复
热议问题