"The Android SDK folder can no longer be located inside the application folder. Move it to another location, for example, in your home folder. When the IDE restarts, it will prompt you to enter a new location."
Open the folder where you put your Android studio, on the Mac is ( Applications/Android\ Studio.app/ ), and on Windows - %LOCALAPPDATA%\Android\android-studio\sdk and move the sdk folder that you find inside, in the other place. After you moved it to another place, press the repeat button.
source share