DEV Community

RobbiNespu
RobbiNespu

Posted on • Originally published at robbinespu.gitlab.io on

Fixed: Android license status unknown (flutter)

Based on previous post, I have problem with flutter installation. Seems flutter -doctor keep saying android license status unknown and no sdk tool directory create when installing Android Studio 3.6.1 ❓

So here the solution, open your SDK manager then uncheck Hide Obsolete Packages

IMG

Now you’ll see Android SDK Tools (Obsolete) 26.1.1 appears. Tick that package and hit apply button

IMG

Nice, now if you run flutter doctor, you should get positive result as below

PS D:\Workplace\flutter_projects> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.657], locale en-MY)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 3.6)
[√] VS Code (version 1.42.1)
[√] Connected device (1 available)

• No issues found!

PS D:\Workplace\flutter_projects> flutter doctor --android-licenses -v
All SDK package licenses accepted.======] 100% Computing updates...

if needed we can download package manually here https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip (for Windows user). Hope this tutorial help people who looking for solution 😇

Top comments (0)