29 lines
718 B
Markdown
Raw Normal View History

# adb shell
> Run shell commands on a connected Android device or emulator.
> More information: <https://developer.android.com/tools/adb>.
- Start a remote interactive shell on the emulator or device:
`adb shell`
- View documentation for showing Android system properties:
`tldr {{[-p|--platform]}} android getprop`
- View documentation for the Android package manager:
`tldr {{[-p|--platform]}} android pm`
- View documentations for sending event codes and touchscreen events:
`tldr {{[-p|--platform]}} android input`
- View documentation for the Android activity manager:
`tldr {{[-p|--platform]}} android am`
- List documented Android shell commands:
`tldr {{[-p|--platform]}} android {{[-l|--list]}}`