Macbook配置adb环境

配置adb命令

http://stackoverflow.com/questions/5526470/trying-to-add-adb-to-path-variable-osx

http://stackoverflow.com/questions/19986214/setting-android-home-enviromental-variable-on-mac-os-x

in your terminal, navigate to home directory

cd

create file .bash_profile

touch .bash_profile

open file with TextEdit

open -e .bash_profile

insert line into TextEdit

export PATH=$PATH:/Users/username/Library/Android/sdk/platform-tools/

save file and reload file

source ~/.bash_profile

check if adb was set into path

adb version

posted @ 2016-02-21 11:55  Leo的银弹  阅读(229)  评论(0编辑  收藏  举报