Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/adb-install Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# adb install
> Android Debug Bridge Install: push packages to an Android emulator instance or connected Android devices.
> More information: <https://developer.android.com/tools/adb>.
- Push an Android application to an emulator/device:
`adb install {{path/to/file.apk}}`
- Push an Android application to a specific emulator/device (overrides `$ANDROID_SERIAL`):
`adb -s {{serial_number}} install {{path/to/file.apk}}`
- [r]einstall an existing app, keeping its data:
`adb install -r {{path/to/file.apk}}`
- Push an Android application allowing version code [d]owngrade (debuggable packages only):
`adb install -d {{path/to/file.apk}}`
- [g]rant all permissions listed in the app manifest:
`adb install -g {{path/to/file.apk}}`
- Quickly update an installed package by only updating the parts of the APK that changed:
`adb install --fastdeploy {{path/to/file.apk}}`