Android 配置 ADB

一、macOS 配置 ADB

1. 方法一:通过终端 breview。

  ① 安装

  $ brew cask install android-platform-tools

  最后显示 android-platform-tools was successfully installed! 说明安装成功。

  ② 查看 adb

  $ adb
  Android Debug Bridge version 1.0.41
  Version 29.0.4-5871666
  Installed as /usr/local/bin/adb

  ③ 卸载

  $ brew cask uninstall android-platform-tools

  ==> Uninstalling Cask android-platform-tools
  ==> Unlinking Binary ‘/usr/local/bin/adb‘.
  ==> Unlinking Binary ‘/usr/local/bin/dmtracedump‘.
  ==> Unlinking Binary ‘/usr/local/bin/etc1tool‘.
  ==> Unlinking Binary ‘/usr/local/bin/fastboot‘.
  ==> Unlinking Binary ‘/usr/local/bin/hprof-conv‘.
  ==> Unlinking Binary ‘/usr/local/bin/mke2fs‘.
  ==> Purging files for version 29.0.4 of Cask android-platform-tools

2. 方法二:

  

  

Android 配置 ADB

上一篇:spring源码分析6: ApplicationContext的初始化与BeanDefinition的搜集入库


下一篇:spring源码分析系列5:ApplicationContext的初始化与Bean生命周期