Hey @PoornimaSuraj
It will work Whatever @sachin925 says .If you still face the issue copy below thing in bash_profile
1.Open The Terminal
2.Type below command
nano ~/.bash_profile
then one window will open add the path as per ur system directory
export ANDROID_HOME=/Users/xxx/Library/Android/sdk
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=${JAVA_HOME}/bin:$PATH
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platforms-tools
export PATH=${PATH}:${ANDROID_HOME}/build-tools/27.0.1
export PATH=${PATH}:${JAVA_HOME}
Once copied save the file by pressing command+x .
Hope this will resolve issue permanently