Related questions
adb - How to reinstall an app, without retaining the data?
adb install foo.apk
When using this command, if the apk exists, I should get the error *Failure [INSTALL_FAILED_ALREADY_EXISTS]*
adb install -r myapp-release.apk
In this case,the existing apk will be replaced, by retaining old data
…