How do I install an Android app over and over again without uninstalling the previous version?

I am working on an android project and I have to install it many times for testing on a virtual device. But at the end of yesterday I am unable to re-install the app on the virtual device and this morning I find a solution, just uninstall the app and reinstall it. This works for me, but now I have to uninstall and reinstall it every time if I want to test.

So, is there any solution to get it working like it did before? Install the app over and over without uninstalling it.

+3


source to share


1 answer


adb install -r appname.apk

- the parameter -r

indicates to replace the existing application. If you don't use -r, you must increment the version in your manifest to install on top of the top.



+15


source







All Articles