Run the command flutter doctor –android-licenses and accept all licenses. Run the command flutter doctor -v to check if the issue was solved.
Read moreHow do I fix Android SDK Manager not found?
[Solved] Android sdkmanager not found Error in Flutter
Read moreHow do I accept 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.
Read moreHow do I accept android license for flutter?
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 more