问题描述:adb: command not found
MAC Android adb command not found

 

解决方案:

mac 上Android studio 的adb需要手动配置一下。

第一步:修改配置文件

在终端输入以下命令

    touch .bash_profile
    open -e .bash_profile

会打开一个文本文档,在文档末尾添加

export PATH=${PATH}:~/Library/Android/sdk/platform-tools

 

第二步:更新配置文件

保存后关闭文档,在之前的那个终端中输入:source .bash_profile

 

第三步:验证

在终端中输入:adb devices -l

MAC Android adb command not found

 

相关文章:

  • 2021-07-21
  • 2021-11-22
  • 2021-10-26
  • 2022-02-09
  • 2021-12-24
  • 2021-07-27
猜你喜欢
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2021-07-02
  • 2021-04-17
  • 2022-12-23
  • 2021-09-22
相关资源
相似解决方案