命令安装brew
ruby -e "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install)"
安装成功
==> Linking Binary 'adb' to '/usr/local/bin/adb'
==> Linking Binary 'dmtracedump' to '/usr/local/bin/dmtracedump'
==> Linking Binary 'etc1tool' to '/usr/local/bin/etc1tool'
==> Linking Binary 'fastboot' to '/usr/local/bin/fastboot'
==> Linking Binary 'hprof-conv' to '/usr/local/bin/hprof-conv'
==> Linking Binary 'make_f2fs' to '/usr/local/bin/make_f2fs'
==> Linking Binary 'make_f2fs_casefold' to '/usr/local/bin/make_f2fs_casefold'
==> Linking Binary 'mke2fs' to '/usr/local/bin/mke2fs'
🍺 android-platform-tools was successfully installed!
安装adb工具
brew install android-platform-tools
查看要卸载的包名
adb shell ls /system/bin/
选择要卸载的输入命令
adb uninstall xxx.xxx