mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 07:00:35 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Push an Android application to an emulator/device:
|
||||
|
||||
`adb install {{path/to/file.apk}}`
|
||||
`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}}`
|
||||
`adb -s {{serial_number}} install {{path/to/file}}.apk`
|
||||
|
||||
- [r]einstall an existing app, keeping its data:
|
||||
|
||||
`adb install -r {{path/to/file.apk}}`
|
||||
`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}}`
|
||||
`adb install -d {{path/to/file}}.apk`
|
||||
|
||||
- [g]rant all permissions listed in the app manifest:
|
||||
|
||||
`adb install -g {{path/to/file.apk}}`
|
||||
`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}}`
|
||||
`adb install --fastdeploy {{path/to/file}}.apk`
|
||||
|
||||
Reference in New Issue
Block a user