can't accept android licenses in flutter
429
Solution 1
Install the Android SDK
- Click Tools in android-studio, SDK Manager.
- In the SDK Platforms tab, select API 32.
- In the SDK Tools tab, select Android SDK Command-line Tools(latest).
- Click Apply and then OK to install the SDK.
Then install cmd-line tools
from android-studio -> sdk-manager -> appearence and behaviour -> system settings -> android sdk -> Android SDK command line tools
To install android-licenses
run flutter doctor --android-licenses
in your terminal
Solution 2
- Open Android Studio
- SDK Manager
- install android-licenses open cmd run flutter doctor --android-licenses then y enter y enter....
Author by
Lior Madav
Updated on January 03, 2023Comments
-
Lior Madav over 1 year
hey' I'm new to flutter and I've tried to run it on visual studio code but when I tried to accept the android licenses I got this error:
how can I accept the android licenses ?
-
Rohith Nambiar about 2 yearsDid you install
android-studio
-
Lior Madav about 2 yearsyes @RohithNambiar
-
Rohith Nambiar about 2 yearsdid you install
android-sdk
-
Lior Madav about 2 yearsno, how can I install it? @RohithNambiar
-
Rohith Nambiar about 2 yearsCheck my answer
-