配adb刷機環境過程如下五步:
1.打開終端,輸入如下命令
cd ~
touch _profile
open -e _profile
2.此時會打開 一個空白文檔,在文檔中輸入以下命令
export PATH=${PATH}:/Users/你的用户名/Library/Android/sdk/platform-tools
export PATH=${PATH}:/Users/你的用户名/Library/Android/sdk/tools
3.保存,關掉這個文檔
4.端輸入命令  
source _profile
5.此時終端輸入adb,如果未顯示command not found,説明此命令有效,adb刷機環境配置成功