2016-09-07 20:30:46 +01:00
|
|
|
# adb
|
2016-01-06 06:18:54 +00:00
|
|
|
|
2016-09-07 20:30:46 +01:00
|
|
|
> Android Debug Bridge: communicate with an Android emulator instance or connected Android devices.
|
2016-01-06 06:18:54 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Check whether the adb server process is running and start it:
|
2016-01-06 06:18:54 +00:00
|
|
|
|
|
|
|
`adb start-server`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Terminate the adb server process:
|
2016-01-06 06:18:54 +00:00
|
|
|
|
|
|
|
`adb kill-server`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Start a remote shell in the target emulator/device instance:
|
2016-01-06 06:18:54 +00:00
|
|
|
|
|
|
|
`adb shell`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Push an Android application to an emulator/device:
|
2016-01-06 06:18:54 +00:00
|
|
|
|
2016-07-13 09:53:22 +01:00
|
|
|
`adb install -r {{path/to/file.apk}}`
|