Android 1. Global options:
- -S--silent:silent mode,show errors only
- -V--verbose:verbose mode,show errors,warnings and all messages
- --clear-cache:clear the SDK Manager repository manifest cache
- -H--help:help on a specific command
2. Sub-command:
- Sdk
- AvD
- List
- List AVD
- List target
- List device
- List SDK
- Create AVD
- Move AVD
- Delete AVD
- Update AVD
- Create Project
- Update Project
- Create Test-project
- Update Test-project
- Create Lib-project
- Update Lib-project
- Create Uitest-project
- Update adb
- Update SDK
3. Common sub-commands:
- Create AVD
- Create Project
Emulator 1. Common Command format:
- EMULATOR-AVD <name>
- Emulator-data <file>
adb
ADB is a bridge between Android phone and PC, which allows users to fully operate the mobile phone on the computer.
1. Common Command format:
- ADB devices
- ADB push [-p] <local> <remote>
- ADB pull [-p] [-a] <remote> [<local>]
- ADB shell
- ADB Shell <command>
- ADB install [-LRTSD] <file>
- ADB install-multiple [-LRTSD] <file...>
- adb uninstall [-K] <package>
Dx
Convert your Android app's *.class file to a *.dex file. Different versions of the Android system correspond to different DX
1. Common Command format:
- Dx–dex [-verbose] [-dump-to=<file>] [-core-library] [<file>.class | <file>.{ ZIP,JAR,APK} | <directory>]
Aapt
Resource packaging tool, different versions of Android system for different aapt
1. Sub-command:
- L[ist]
- D[ump]
- P[ackage]
- R[emove]
- A[DD]
- C[runch]
- S[inglecrunch]
- V[version]
command-line development tools