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验证。
本文介绍如何设置ADB的环境变量,包括获取ADB路径、编辑.bash_profile文件以添加路径,以及验证ADB版本的方法。
1576

被折叠的 条评论
为什么被折叠?



