Configure the Android_Home Environment Variable Mac

Profile picture for user devraj

Step 1: Navigate to Home Directory

cd ~

Step 2: Open .zshrc or .bashrc or .bashrc_profile

vim .bashrc

Step 3:

export ANDROID_HOME=${HOME}/Library/Android/sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/cmdline-tools:$PATH