macOS通过brew安装adb报错: Cask ‘android-platform-tools‘ is unavailable

现在使用
brew tap homebrew/cask
brew install --cask android-platform-tools

安装adb是应该是会报unavailable错误的:
Cask 'android-platform-tools' is unavailable: No Cask with this name exists.

这和源没有关系,github官方源和国内源都是这个错误(我在切换源那里浪费了很多时间。) 所以正确的安装方法:
1. 通过brew安装adb
brew install Caskroom/cask/android-platform-tools
```就可以了
如果出现443错误:
```shell
fatal: unable to access 'https://github.com/Caskroom/homebrew-cask/': LibreSSL S

macOS通过brew安装adb报错: Cask ‘android-platform-tools‘ is unavailable最先出现在Python成神之路

版权声明:
作者:siwei
链接:https://www.techfm.club/p/26616.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>