1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/adb-install.md

21 lines
609 B
Markdown
Raw Normal View History

2020-09-14 08:58:51 -03:00
# adb install
2020-08-28 10:18:03 -03:00
> 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}}`