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
Now you’ll see
Android SDK Tools (Obsolete) 26.1.1 appears. Tick that package and hit
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
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.