While I was tried to run the flutter in my system via cmd, I got an error "Android licenses not accepted". We can solve the problem easily by following the instruction given below.
Steps to Solve The Problem:
- Open Your Terminal.
- Run This Command "flutter doctor --android-licenses".
- Enter "y" and press the enter button.
- You are done.
I hope your problem is solved.