adb-install: update syntax of path to apk (#20390)

This commit is contained in:
Adriano Inghingolo
2025-12-30 10:21:00 +01:00
committed by GitHub
parent 044f8c3f86
commit abf494e585
+6 -6
View File
@@ -5,24 +5,24 @@
- 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`