当前位置:网站首页>Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.
Error: `brew cask` is no longer a `brew` command. Use `brew <command> --cask` instead.
2022-06-28 08:34:00 【-九斤-】
前言:
换了新的Mac本办公,想通过usb链接设备的方式调试设备时发现mac没有自带adb,还需要重新安装,查了一些资料发现我之前写过mac上关于abd环境的安装,真是没有一点记忆力了
问题:
homebrew安装adb,执行brew cask install android-platform-tools命令时提示error
原因:
homebrew安装工具时不再使用brew cask这种格式,改成brew <command> --cask了
解决方案:
brew install android-platform-tools --cask
结果验证:
再次输入adb devices 显示安装成功(已通过usb方式链接设备,会有devices list显示)
边栏推荐
猜你喜欢
如何抑制SiC MOSFET Crosstalk(串扰)?
Comment supprimer le crosstalk SiC MOSFET?
如何抑制SiC MOSFET Crosstalk(串擾)?
JS rounding tips
与普通探头相比,差分探头有哪些优点
设置网页的标题部分的图标
利尔达低代码数据大屏,铲平数据应用开发门槛
B_ QuRT_ User_ Guide(26)
Infinite penetration test
AI chief architect 8-aica-gao Xiang, in-depth understanding and practice of propeller 2.0
随机推荐
Oracle RAC -- understanding of VIP
【力扣10天SQL入门】Day5+6 合并表
The micro kernel zephyr is supported by many manufacturers!
第六届智能家居亚洲峰会暨精品展(Smart Home Asia 2022)将于10月在沪召开
Installing mysql5.7 under Windows
[introduction to SQL for 10 days] day4 Combined Query & specified selection
centos mysql5.5配置文件在哪
yaml json
【学习笔记】线性基
DB
Introduction, compilation, installation and deployment of Doris learning notes
js运算符的优先级
新唐NUC980使用记录:自制开发板(基于NUC980DK61YC)
[go ~ 0 to 1] on the first day, June 24, variables, conditional judgment cycle statement
Not so Mobile
【Go ~ 0到1 】 第三天 6月27 slice,map 与 函数
Leetcode swing series
Anniversary party
[learning notes] simulation
Loss loss function