follow these steps:
open SDK Manager
go to SDK tools
Install "Android sdk command line tool(latest)"
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 run flutter doctor --android-licenses
once you run the license command accept all licenses by hitting y and it should solve the problem
This Will Solve The Issue-
IF the Issue Is Still There - follow these steps:
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 run flutter doctor --android-licenses
once you run the license command accept all licenses by hitting y and it should solve the problem
0 Comments