Update cheatsheets

This commit is contained in:
ivuorinen
2025-01-06 00:18:31 +00:00
parent c41e4ca75d
commit b7f757ba3c
10 changed files with 113 additions and 29 deletions

21
tldr/adb-connect Normal file
View 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}}`