Can't accept Android Licenses (Flutter) Can't accept Android Licenses (Flutter) dart dart

Can't accept Android Licenses (Flutter)


switching to flutter dev channel fixed the problem for me. run flutter channel dev and then flutter upgrade and try flutter doctor --android-licenses


Try to run the following commands,(It should ask you to accept the licenses)

sdkmanager --licenses

And also make sure to run the following

flutter config --android-sdk /pathToAndroidSdk --android-studio-dir /pathToAndroidStudio

After the above two commands I hope your problem should be resolved.

Thanks :)


This occurs because you haven't accepted all the android licenses.

Follow these steps, this worked for me.

  1. Open console/terminal
  2. Type flutter doctor --android-licenses
  3. Accept every license that comes up, press y and you are good to go.