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验证。

posted @ 2020-05-08 14:58  mensiler  阅读(593)  评论(0编辑  收藏  举报