Really stuck with appium install and bad path

I keep getting this error when running my commands and when diagnosing with appium-doctor

ANDROID_HOME is set to ‘C:\Users\brian\AppData\Local\Android\Sdk;’ but this is not a valid path

i have tried uninstalling studfio and reinstalling but that didnt fix it. im stuck thanks

I had a similar issue on Mac so I followed the steps mentioned in the youtube videos, try these steps for windows and let me know how it goes