Search code examples
androidfluttersdk

Flutter Doctor results


Hi guys i have problem with android-SDK when i type on console "Flutter doctor" before show me this:

[√] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.18363.1500], 
locale pl-PL)
[X] Android toolchain - develop for Android devices
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/windows#android-setup 
for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[√] Chrome - develop for the web
[√] Android Studio
[√] Connected device (1 available)

I checked if the platform-tools and I think I have everything I need for the installation

MY platform-tools screen

enter image description here

enter image description here

MY SDK FOLDER enter image description here


Solution

  • X Unable to locate Android SDK.

    Add the location of the Android SDK in "Environment Variables In Windows 10"

    https://programsbuzz.com/article/how-set-android-environment-variable-path-windows-10