mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 10:55:36 +02:00
adb-install: add page (#4286)
This commit is contained in:
parent
5951942143
commit
1669465f5f
1 changed files with 20 additions and 0 deletions
20
pages/common/adb-install.md
Normal file
20
pages/common/adb-install.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# adb-install
|
||||
|
||||
> Android Debug Bridge Install: Push packages to an Android emulator instance or connected Android devices.
|
||||
> More information: <https://developer.android.com/studio/command-line/adb>.
|
||||
|
||||
- Push an Android application to an emulator/device:
|
||||
|
||||
`adb install {{path/to/file.apk}}`
|
||||
|
||||
- Reinstall an existing app, keeping its data:
|
||||
|
||||
`adb install -r {{path/to/file.apk}}`
|
||||
|
||||
- Grant 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}}`
|
Loading…
Add table
Reference in a new issue