How to accept Android licenses
As it says in the message:
To resolve this, run: flutter doctor --android-licenses
In your flutter folder you can find flutter_console.bat.
Open it and write the following:
- flutter doctor --android-licenses
You have to run an elevated command prompt in order to accept the license. Go to the windows start menu, type CMD
then right click the Command Prompt
and select Run as Administrator
. This will start the command line with elevated priviliges.
In my case flutter doctor command didn't help me, Flutter used default project SDK in
C Drive: C:\Users\PC\AppData\Local\Android\Sdk which is missing licenses folder, But I use different SDK for building application which has licenses folder I copied that to C Drive SDK
then the problem has solved then Flutter app got installed in the mobile.