MAC os

環境變數 - ANDROID_HOME

創建或編輯
vim ~/.zprofile  # zsh
vim ~/.bash_profile  # bash

# 貼上以下
export PATH
export ANDROID_HOME={你的android studio - sdk path}
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platforms-tools
export PATH=${PATH}:${ANDROID_HOME}/build-tools

完工, termenal resession

comments powered by Disqus