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

posted @ 2019-09-26 11:07  yongfengnice  阅读(535)  评论(0编辑  收藏  举报