Kong Jing

Mac下ADB配置失效

10 February 2017

echo $HOME
touch .bash_profile
open -e .bash_profile
export PATH=${PATH}:/Users/xxx/Library/Android/sdk/platform-tools
export PATH=${PATH}:/Users/xxx/Library/Android/sdk/tools
export NDK_ROOT=/Users/xxx/Library/Android/sdk/ndk-bundle
export PATH=$PATH:$NDK_ROOT

then

source .bash_profile
Problem

1.adb命令失效

找到User目录下面的.zshrc文件,我的在james/.zshrc.在文件最后添加

source ~/.bash_profile

— Kong Jing