DEV Community


Posted on • Originally published at on

Flutter issue: Android license status unknown on Windows

I keep getting Android license status unknown when installing flutter on Windows

PS D:\Workplace\flutter_projects> flutter doctor -v
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.657], locale en-MY)
    • Flutter version 1.12.13+hotfix.8 at D:\Workplace\flutter
    • Framework revision 0b8abb4724 (3 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Robbi\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See or visit for detailed

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.42.1)
    • VS Code at C:\Users\Robbi\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.8.1

[√] Connected device (1 available)
    • SM A505F • XXXXXYYYZHW • android-arm64 • Android 9 (API 28)

! Doctor found issues in 1 category.

I am using Android Studio 3.6.1 on my windows 10 and there is no C:\Users%user%\AppData\Local\Android\Sdk\tools\bin directory created…this is so weird


the step I take is to install Android SDK command line tool (latest) from SDK tool

After Android SDK command line tool (latest) installed, open terminal (i am using Git Bash) navigate to C:\Users\<YOUR_USERNAME_HERE>\AppData\Local\Android\Sdk\cmdline-tools\latest\bin and execute ./sdkmanager.bat --licenses then accept all SDK package licences and expecting this should solve the problem…

Unfortunately this still does’t work with flutter doctor.. dang! Do you know how to solve it? This issue already reported here #51712

Discussion (2)

apomalyn profile image
Xavier Chretien • Edited

I run into this one recently, you have to uncheck Hide obsolete packages and install the Android SDK Tools the version should be 26.1.1. It's because of the SDK manager was moved in another folder on Windows but in Linux/macOS. 😀I hope this will solve your problem! Happy fluttering

apomalyn profile image
Xavier Chretien

I just saw you found the solution! :D