79678332

Date: 2025-06-24 23:44:12
Score: 2.5
Natty:
Report link

I have mine fixed by following the link shared

enter image description here

https://github.com/flutter/flutter/issues/169252#issuecomment-2963248617

What I did exactly:

I moved the sdk under C:\Users\Kojo Mensah\AppData\Local\Android to a folder that has no space in it name. eg: C:\src\Android\sdk.

The actual issue was because of the dir \Kojo Mensah\, it has space within it.

After locating the sdk, I updated the sdk path in Android Studio and also added the path to my systems environment.

How added the path the environment

variable=ANDROID_HOME

value=C:\src\Android\sdk

enter image description here

I restarted my IDE and tried and new build, hurrayyyyy! there was success

Thanks for reading this.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stephen Essoun