Can't accept Android Licenses (Flutter)
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 :)