1. How to find it
- Open Android studio, go to Android Studio > Preferences
- Search for
sdk - Something similar to this (this is a Windows box as you can see) will show

You can see the location there – most of the time it is:
/Users/<name>/Library/Android/sdk
2. How to install it, if not there
- Go to Android standalone SDK download page
- Download the zip file for macOS
- Extract it to a directory

3. How to add it to the path
Open your Terminal edit your ~/.bash_profile file in nano by typing:
nano ~/.bash_profile
If you use Zsh, edit ~/.zshrc instead.
Go to the end of the file and add the directory path to your $PATH:
export PATH="${HOME}/Library/Android/sdk/tools:${HOME}/Library/Android/sdk/platform-tools:${PATH}"
- Save it by pressing
Ctrl+X - Restart the Terminal
- To see if it is working or not, type in the name of any file or binary which are inside the directories that you’ve added (e.g.
adb) and verify it is opened/executed