一共6步
首先打开terminal
1.echo $HOME
2.touch .bash_profile
3.open -e .bash_profile
4.在弹出框中输入
export PATH=${PATH}:你电脑sdk的路径/tools:你电脑sdk的路径/platform-tools

5.source .bash_profile
6.adb version

出现类似上图即为成功
一共6步
首先打开terminal
1.echo $HOME
2.touch .bash_profile
3.open -e .bash_profile
4.在弹出框中输入
export PATH=${PATH}:你电脑sdk的路径/tools:你电脑sdk的路径/platform-tools
5.source .bash_profile
6.adb version
出现类似上图即为成功