Manually go to the directory and change your folder name after change your sdk folder path will be like this
C:\Users\Omar_Abdelhafiz\AppData\Local\Android\Sdk
Now come to your Android Studio:
File>>Settings>>Appearance & Behavior>System Settings>Android SDK>>Now in Right side panel there will be Android SDK Location
Change that with your new SDK path, then Apply and OK click
Note: Next is you have to change in your system environment variables if you are using windows for platform tools path.
This is my platform tools path which I put in windows system enviornment variables path E:\Rahul\AndroidTool\ANDROID_SDK\sdk\platform-tools
To set system environment variable path for platform tools follow Set the Android SDK Home Environment Variable
It's done
