Re-install an app.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 12 Jun 2023 19:20:25 +0300
changeset 2568 77977f357b83
parent 2567 fe8116e855ab
child 2569 8f4415990863
child 2578 63472ea9e73b
Re-install an app.
android.rst
--- a/android.rst	Mon Jun 12 19:18:30 2023 +0300
+++ b/android.rst	Mon Jun 12 19:20:25 2023 +0300
@@ -204,9 +204,14 @@
 
   $ adb devices
 
-Install application from ``.apk`` file::
+Install an app from ``.apk`` file::
+
+  $ adb install /path/to/application.apk
 
-  $ adb install -r /path/to/application.apk
+Re-install an app from ``.apk`` file (avoids the error ``INSTALL_FAILED_ALREADY_EXISTS`` if the app
+is alreay installed)::
+
+  $ adb install -f /path/to/application.apk
 
 List installed package names (with path to ``.apk`` files!)::