mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 23:58:47 +00:00
Update cheatsheets
This commit is contained in:
21
tldr/adb-connect
Normal file
21
tldr/adb-connect
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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}}`
|
||||
Reference in New Issue
Block a user