I'm having trouble with flutter doctor not finding android licenses Android SDK Command-line Tools didn´t work

129 Views Asked by At

After getting this error I tried solutions I could find and installed Android SDK Command-line Tools (latest) from android studio and tried running flutter doctor again and got this error (translation: could not find or load main class).

1

There are 1 best solutions below

2
On

Open your android studio> tools> system settings> android sdk> select android sdk command line tools, ..build tools, ..sdk platform tools, ..sdk tools > Click OK. Also take a note of the sdk installation location given on top. You might need it further.

Please post the result of flutter doctor -v from a command prompt if you need further help.