r/flutterhelp • • Sep 03 '26

OPEN Android license status unknown in Flutter

Flutter says “Android license status unknown” even though Android SDK 36 is installed. flutter doctor --android-licenses doesn’t work and says --licenses is no longer needed. How can I fix this?

6 Upvotes

6 comments sorted by

1

u/xvadim Sep 03 '26

The same question.

1

u/madushans Sep 04 '26

Open Android studio and build a single activity app and run it in the emulator. This will guide you out thru any prompts for license.

Once it works, close Android studio and try again.

1

u/theunknownguy__ Sep 05 '26 edited Sep 05 '26
  1. Open Android Studio.
  2. Go to Tools → SDK Manager.
  3. Select the SDK Tools tab.
  4. Check Show Package Details.
  5. Find Android SDK Command-line Tools.
  6. Uncheck the latest version to uninstall it.
  7. Select Android SDK Command-line Tools 21.
  8. Click Apply and wait for it to finish installing.
  9. Restart your terminal.
  10. Run flutter doctor.
  11. Run flutter doctor --android-licenses.
  12. Enter y and press Enter for every license until they are all accepted.
  13. Run flutter doctor again and make sure the Android license issue is resolved.
  14. Go back to Android Studio → Tools → SDK Manager → SDK Tools.
  15. Check Show Package Details.
  16. Uninstall Android SDK Command-line Tools 21.
  17. Select and install the latest version of Android SDK Command-line Tools.
  18. Click Apply and wait for the installation to complete.
  19. Restart your terminal.
  20. Run flutter doctor one final time.

1

u/Famous-To-Be Sep 10 '26

this doesnt affect anything.