Hello Guys How are you all? Hope You all are fine. When I was trying to run the flutter doctor command and I get the following error in my stack track. Flutter.io Android License Status Unknown in a flutter. So today Here I come with all possible solutions for this error.
We are providing you all possible solutions to solve this error. let’s start this article without wasting your time.
How Flutter.io Android License Status Unknown Error Occurs ?
I am running the flutter doctor command after just installing flutter in my system. And I am facing the below error in my terminal Flutter.io Android License Status Unknown.
>[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
>>• Android SDK a ..\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 27.0.3
• Java binary at C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
X Android license status unknown.
How to Solve Flutter.io Android License Status Unknown Error?
- How to Solve Flutter.io Android License Status Unknown Error?
To resolve Flutter.io Android License Status Unknown issue try running flutter doctor –android-licenses This should prompt you to accept licenses (it may ask you first, in case just type Y and press enters – although it should tell you that). If you updated the android SDK, the licenses may have changed Or If you are using SDK the first time then you have to accept its license.
- Flutter.io Android License Status Unknown
To resolve Flutter.io Android License Status Unknown issue try running flutter doctor –android-licenses This should prompt you to accept licenses (it may ask you first, in case just type Y and press enters – although it should tell you that). If you updated the android SDK, the licenses may have changed Or If you are using SDK the first time then you have to accept its license.
Solution 1: install the SDK command line tool
- To resolve this Issue Just install the SDK command line tool(latest) the below in android studio.

- After Installing SDK Command line tool just run flutter doctor –android-licenses command in terminal.
flutter doctor --android-licenses
- and type Y when needed to accept the licenses.
- That’s It.
Solution 2: uncheck hide obsolete packages
The right solution would be if you have android studio installed then
- open SDK manager.
- under SDK tools uncheck hide obsolete packages at the bottom.
- then you should see an option called
Android SDK Tools (Obsolete)
. - check it and apply and let the studio download the package.
- once done run the command
flutter doctor
and it should now prompt you to runflutter doctor --android-licenses
once you run the license command accept all licenses by hitting Y and it should solve the problem.
Solution 3: Reinstall Android SDK Tools
- Delete the “Android SDK Tools” from SDK Manager
- Reinstall it by first deselecting the “Hide Obsolete Packages” and then select “Android SDK Tools (Obsolete)”, install it.
- run
flutter doctor --android-licenses
and selecty
for the prompts - run
flutter doctor
and everything will be fine!!!!
It’s high time flutter come as an installation package ensuring no configuration setup.
Summery
So, It’s All About This Error. I hope this tutorial helps you to solve your error. Please Comment Below if You stucks anywhere with my code.
Also Check Out Below Tutorials
- How to Generate SHA-1 for Flutter/React-Native/Android-Native app? 3 Method Explained
- How to make an AlertDialog in Flutter?
- Also Read How to set the width of a RaisedButton in Flutter? 7 Methods Explained
- [Solved] textAlign not working flutter
- Format DateTime in Flutter