Open Finder, press Command+Shift+G and paste: ~/.zshrc Open .zshrc file with TextEdit Paste: alias adb='~/Library/Android/sdk/platform-tools/adb’ Run command in terminal: source ~/.zshrc Restart Android Studio Done!