打开.bash_profile文件
export ANDROID_HOME=/Users/liwen/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/build-tools/33.0.0
source .bash_profile
liwen@localhost ~ % adb version
Android Debug Bridge version 1.0.41
Version 33.0.3-8952118
Installed as /Users/liwen/Library/Android/sdk/platform-tools/adb
liwen@localhost ~ %