Reputation: 243
I'm working on an android project, and I have to install it many times to test on virtual device. But at the end of yesterday, I can't re-install the app on the virtual device and this morning I find the solution, just uninstall the app and re-install it. That works for me, but now I have to uninstall and re-install it every time if I want to test.
So is there any solution to make it work like before? Install the app again and again without having to uninstall it.
Upvotes: 5
Views: 5392
Reputation: 39797
adb install -r appname.apk
-- the -r
option says to replace the existing app. If you don't use -r, you must increase the version in your manifest in order to install over the top of the previous one.
Upvotes: 16