1. 到adb安装目录下,输入命令,创建文件
touch .bash_profile
2. 查看是否存在
ls -la
3. 打开文件
open -e .bash_profile
4. 将当前adb目录加入到bash_profile中
export PATH=${PATH}:/Users/xxxxxx/android/sdk/platform-tools
5. 使文件生效
source .bash_profile
1. 到adb安装目录下,输入命令,创建文件
touch .bash_profile
2. 查看是否存在
ls -la
3. 打开文件
open -e .bash_profile
4. 将当前adb目录加入到bash_profile中
export PATH=${PATH}:/Users/xxxxxx/android/sdk/platform-tools
5. 使文件生效
source .bash_profile