Generally, this kind of issue occurs when the user updated the android SDK, the licenses may have changed . Depending on how the user did the update you may or may not have been prompted to accept the changes, or maybe it just doesn’t save the fact that you did accept them in a way flutter can understand.
Read moreCan’t find an option named platforms flutter?
You are using the wrong flutter SDK . Too low information in your question. Make sure that you have the right path to flutter SDK in your IDE. Check that the flutter SDK directory has the appropriate structure, all needed files and cetera.
Read moreHow do I fix flutter doctor <UNK> android licenses error?
Install: Android SDK Command-line Tools
Read moreWhat is a flutter doctor?
The flutter doctor command helps you install and update your Flutter tools . This book will mostly use Android Studio as the IDE for Flutter development.
Read moreHow do I get my flutter doctor license?
and type Y when needed to accept the licenses . Check it and apply and let the studio download the package. Once did run the command flutter doctor and it should now prompt you to run flutter doctor –android-licenses once you run the license command accept all licenses by hitting y and it should solve the problem.
Read moreHow do I accept the flutter doctor <UNK> android licenses?
Solution 1. Then select Android SDK Command-line tools & CMake then Apply . You should then be able to execute the command below without the elevated privileges and accept the licences. After choosing “yes” for all licenses, the android licenses are accepted.
Read moreHow do I agree to android licenses?
You can accept the license agreement by launching Android Studio, then going to: Help > Check for Updates… When you are installing updates, it’ll ask you to accept the license agreement . Accept the license agreement and install the updates, and you are all set.
Read more