I tried to run flutter on my Windows 10 and getting some errors. Trying to resolve error " Android license status unknown." from the last couple of hours. But no luck. My system environment is like the followings:
Windows 10, java version "12.0.2" 2019-07-16, Android Studio 3.5.
Can anyone know the thing which I am missing here?
C:\Users\me>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.7.8+hotfix.4, on Microsoft Windows [Version 10.0.17134.885], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
X Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed
instructions.
[!] Android Studio (version 3.5)
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
[√] VS Code, 64-bit edition (version 1.37.1)
[!] Connected device
! No devices available
! Doctor found issues in 3 categories.
C:\Users\me>
I tried the following command (flutter doctor --android-licenses) and getting the errors like this:
C:\Users\me>flutter doctor --android-licenses
A newer version of the Android SDK is required. To update, run:
C:\Users\me\AppData\Local\Android\sdk\tools\bin\sdkmanager --update
C:\Users\me>
