0
点赞
收藏
分享

微信扫一扫

mac zsh: command not found: adb 问题解决

 

问题:mac 终端提示:

zsh: command not found: adb

 

第一步查看 ~/.bash_profile的配置是否配置得了Android SDK

执行命令

open ~/.bash_profile

 

mac  zsh: command not found: adb 问题解决_技术交流

 

可见存在该配置

第二步

执行 vim ~/.zshrc  添加配置

直接添加:

source ~/.bash_profile 保存

mac  zsh: command not found: adb 问题解决_微信_02

 

第三步

执行 

source ~/.zshrc

 

第四步

验证

执行:

adb devices

mac  zsh: command not found: adb 问题解决_技术交流_03

 

 

 

 

举报

相关推荐

0 条评论