Mac Configuration Environment adb

1. Edit

  vi  ~ / .bash_profile

2. Enter the content:

  export ANDROID_HOME=/Users/yfsu/Library/Android/sdk

  export PATH=${PATH}:${ANDROID_HOME}/tools

  export PATH=${PATH}:${ANDROID_HOME}/platform-tools

3. reload 

  source ~/.bash_profile 

4. Verify

  adb version

Guess you like

Origin www.cnblogs.com/yongfengnice/p/11589629.html