MacOS
- 安装JDK
MAC安装JDK及环境变量配置
- 安装Brew
【工具】Homebrew的安装及使用
- 打开命令行通过brew安装安卓工具
brew cask install android-platform-tools
- USB插上安卓设备检查, 应当显示已经连接的设备的串号
adb devices
应该显示如下, 一个连接的设备有一行
![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/24e49727-c64c-40ec-9dcb-106e7dba0b10/Untitled.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/24e49727-c64c-40ec-9dcb-106e7dba0b10/Untitled.png)
- 启动Appetizer, 安装组件; 其中ATX三个组件是投屏和远程控制必须的; Maxim是自动化测试工具, 其他工具中replaykit用于录制重放设备屏幕事件, jadx用于反编译App, jacoco-cli用于分析App测试覆盖率
![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c2916445-cf3a-4f89-8bab-d4e1c311c9e4/Untitled.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/c2916445-cf3a-4f89-8bab-d4e1c311c9e4/Untitled.png)
![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/4973a8b3-1420-4fea-87e6-6e0238a624c0/Untitled.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/4973a8b3-1420-4fea-87e6-6e0238a624c0/Untitled.png)
![https://s3-us-west-2.amazonaws.com/secure.notion-static.com/40b77427-8021-419a-8e5a-e94de69eb0d6/Untitled.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/40b77427-8021-419a-8e5a-e94de69eb0d6/Untitled.png)
Ubuntu/Debian
- 打开命令行