tldr/pages/common/adb.md

20 lines
405 B
Markdown
Raw Normal View History

2016-01-06 06:18:54 +00:00
# Android Debug Bridge
> Communicate with an Android emulator instance or connected Android devices.
2016-01-06 06:18:54 +00:00
- Check whether the adb server process is running and start it:
2016-01-06 06:18:54 +00:00
`adb start-server`
- Terminate the adb server process:
2016-01-06 06:18:54 +00:00
`adb kill-server`
- Start a remote shell in the target emulator/device instance:
2016-01-06 06:18:54 +00:00
`adb shell`
- Push an Android application to an emulator/device:
2016-01-06 06:18:54 +00:00
`adb install -r {{apk.path}}`