Adb install

This command is used to install the apk on phone

adb install-multiple path/to/app1.apk path/to/app2.apk

Push multiple APKs to the device as a single package and install them.

adb install-multiple test1.apk test2.apk

adb install-multi-package path/to/app1.apk path/to/app2.apk

Push multiple APKs as multiple packages and install them atomically.

adb install-multi-package test1.apk test2.apk

adb install -r path/to/app.apk

Replace an existing application by deleting an reinstalling it keeping its data in the process.

adb install -r test.apk

adb install -t path/to/app.apk

Install an APK while allowing test packages.

adb install -t test.apk

adb install -g path/to/app.apk

Install an APK and grant all the runtime permissions that the app asks for.

adb install -g test.apk

adb install -d path/to/app.apk

Install an APK by allowing version code downgrade. Works on debuggable packages only.

adb install -d test.apk

adb install --fastdeploy path/to/app.apk

Install an APK by using fast deploy.

adb install --fastdeploy test.apk

adb install --no-streaming path/to/app.apk

Install an APK by always pushing the APK to the device and invoking Package Manager as separate steps.

adb install --no-streaming test.apk

adb install --instant path/to/app.apk

Install the app as an ephemeral install app.

adb install --instant test.apk

adb install path/to/app.apk

adb install test.apk

how to image


Frequently Asked Questions


What is the adb install command used for?

It is used for installing APKs to the device using ADB

What is the difference between adb install-multiple path/to/app1.apk path/to/app2.apk and adb install-multi-package path/to/app1.apk path/to/app2.apk ?

The adb install-multiple path/to/app1.apk path/to/app2.apk command is used for installing multipke APKs as a single package whereas the adb install-multi-package path/to/app1.apk path/to/app2.apk command installs multiple APKs as multiple packages.

What are ephemeral apps?

Ephemeral apps are those that are installed by the user for a given purpose and are automatically removed, archived respectively, when they do not serve their purpose anymore.

rating-img
Rate this tool
NaN/5   0 votes