搭建adb环境,需要安装homebrew
1、安装hombrew
ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
直接安装提示:
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
解决方式:
a、浏览器输入如下地址:https://raw.githubusercontent.com/Homebrew/install/master/install
mac安装adbb、把这个网页保存名为brew_install.rb的文件,保存的位置随意
c、执行curl,结果如下
mac安装adb
d、执行ruby brew_install.rb,安装homebrew
ps:需要带入路径
mac安装adb
2、安装adb
brew cask install android-platform-tools
3、安装成功执行adb devices

相关文章:

  • 2022-12-23
  • 2021-11-01
  • 2022-02-10
  • 2022-12-23
  • 2022-01-02
  • 2021-12-19
  • 2021-05-14
  • 2022-01-21
猜你喜欢
  • 2021-11-08
  • 2021-07-28
  • 2021-12-12
  • 2021-07-09
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案