mac 添加adb环境变量

1. 获取adb的路径

 

/Users/jennychuang/Downloads/adt-bundle-mac-x86_64-20131030/sdk/platform-tools

2. touch .bash_profile

   open -e .bash_profile

增加

export PATH="${PATH}:/Users/jennychuang/Downloads/adt-bundle-mac-x86_64-20131030/sdk/platform-tools”

cmd+s保存

 

执行source  .bash_profile

 

3. 执行adb version验证。

原文地址:https://www.cnblogs.com/mensiler/p/12850531.html