adb: command not found solution

  1. Add export PATH=/Users/mac/Downloads/platform-tools:$PATH to both ~./bashrc and ~./bash_profile
  2. source ~./bash_profile 和 source ~./bashrc

  3. Enter adb devices to test whether it works

  4. xxx command not found, copy and paste the corresponding environment variables into the ~./bashrc file

You're done! 

Guess you like

Origin blog.csdn.net/weixin_45508657/article/details/131288925