mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
519 B
Plaintext
22 lines
519 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# adb connect
|
|
|
|
> Connect to an Android device wirelessly.
|
|
> More information: <https://developer.android.com/tools/adb>.
|
|
|
|
- Pair with an Android device (address and pairing code can be found in developer options):
|
|
|
|
`adb pair {{ip_address}}:{{port}}`
|
|
|
|
- Connect to an Android device (port will be different from pairing):
|
|
|
|
`adb connect {{ip_address}}:{{port}}`
|
|
|
|
- Disconnect a device:
|
|
|
|
`adb disconnect {{ip_address}}:{{port}}`
|