Mac下配置adb环境
1. 编辑
vi ~/.bash_profile
2. 输入内容:
export ANDROID_HOME=/Users/yfsu/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
3. 重新载入
source ~/.bash_profile
4. 验证
adb version
1. 编辑
vi ~/.bash_profile
2. 输入内容:
export ANDROID_HOME=/Users/yfsu/Library/Android/sdk
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
3. 重新载入
source ~/.bash_profile
4. 验证
adb version