Sample Header Ad - 728x90

Installing APK signed with different key possible through adb install -r?

3 votes
1 answer
13308 views
Android will refuse to upgrade a package, if it is signed with a different key, making me to uninstall first (and lose user data) and re-install. If I install the new APK via adb install -r XYZ.apk, I switched to the other APK and kept user data. Is that a correct workaround?
Asked by eudoxos (234 rep)
Mar 30, 2017, 08:47 PM
Last activity: Feb 13, 2025, 04:04 PM