0

I'm having a problem accepting the Android Licenses. I've looked for well over a month for a solve and haven't found one yet. My username on my mac contains the word (Deleted) with a space before it and I'm wondering if that's causing any problems.

I run $ flutter doctor and get this result: enter image description here

I run $ flutter doctor --android-licenses

And I get this error:

Error: Could not find or load main class (Deleted).Library.Android.sdk.cmdline-tools.latest

I have all the SDK tools installed and updated to the latest. What I have installed is pictured below:

enter image description here

I have Java 8 installed and running, as well. Not getting any errors with Java.

Could use another pair of eyes to see what I'm doing wrong.

Here is my flutter doctor -v output: enter image description here

John.Hicks
  • 25
  • 4
  • Run `flutter doctor --android-licenses` inside your android sdk location like SDK->platform-> Platform version (ex. 33.0) – Tariqul Islam Jun 13 '22 at 12:06

1 Answers1

0

First set android sdk path by flutter config --android-sdk <path-to-your-android-sdk-path> and run flutter doctor --android-licenses again

Hardik Mehta
  • 2,195
  • 1
  • 11
  • 14