Android Studio, Flutter sdkmanager not found

59 Views Asked by At

So guys, there's a problem with my flutter/android studio enter image description here

I don't know what is the problem, I saw a lot of solution but none of them worked.

enter image description here

I almost select everything, maybe it will fix that but no...

enter image description here

you can see my Android SDK Location is C:\Users\molna\AppData\Local\Android\Sdk but the flutter doctor -v doesn't recognize I think.

Also if I write in the Visual Studio Code this: flutter run it will say enter image description here

And if I type in the cmd this: sdkmanager --licenses it says enter image description here

I will would be very happy, if someone could help me!

I've tried everything I've seen on the internet, but I haven't found anything that helped.

1

There are 1 best solutions below

2
On

The problem here is your ANDROID_HOME variable is pointing to a different location than the actual location of sdk. The second image that you provided has the actual location of the android studio sdk. Copy that path:

C:\Users\molna\AppData\Local\Android\Sdk

and edit the system environment variable called ANDROID_HOME and set it to the path above.

For editing system environment variables see: IBM set Android_Home variable