Flutter doctor --android-licenses not working
Try these steps:
- Open your terminal
- type
flutter doctor --android-licenses
- press
y
to accept every license.
original link to the post is here
UPDATED ANSWER to this POST
Installing Android SDK Command-line tools from Android SDK Manager did the job.
- Open Android Studio
- Tools > SDK Manager
- From the left choose, Appearance & Behavior > System Settings > Android SDK Select SDK
- Tools from the top menu Check Android SDK Command-line tools and
- click 'apply'.
orignal link to the post here
How to accept Android licenses
As it says in the message:
To resolve this, run: flutter doctor --android-licenses
I have updated flutter sdk version to 2.10.0 but in terminal error coming saying : current version is 2.8.0
Check for version file in flutter SDK. Open the flutter SDK folder and open the version file. It use to have a version specified, also check for the flutter version in VS Code at the bottom bar. If both are 2.10.0, then just flutter clean the project and rebuild. IF 2.8.0 is still there, download 2.10.0 zip file and unzip and replace the flutter SDK path.
Related Topics
First Launch Take Long Time (Classloader Referenced Unknown Path)
How to Send Multiple Sms to Single Number
How to Verify That an Android APK Is Signed with a Release Certificate
How to Determine the Screen Width in Terms of Dp or Dip at Runtime in Android
What Does the Layoutinflater Attachtoroot Parameter Mean
Android: Http Communication Should Use "Accept-Encoding: Gzip"
Shadow Effect for a Text in Android
Add a Background Image to Shape in Xml Android
Full Screen Dialogfragment in Android
Download the Android Sdk Components for Offline Install
Action_Sendto for Sending an Email
Programmatic Views How to Set Unique Id'S
Multi Selection Spinner in Android Without Alertdialog