I am trying to install my APK, which has been signed by my Production key (the same one I have always used for my app in the Play Store).
When I try to install a test build (again, signed with the production key), I can't install over the original (can install if I delete the current production build first). I am worried that when I update my app the next time that this is going to cause issues.
I get this error (this is the only relevant line in the logcat, no other output that has anything):
D/InstallAppProgress(14669): Installation error code: -25
I have updated the ADT since building with my previous release, and generate the APK for release directly out of the IDE (using the Android Tools right-click menu from the main project).
I am not changing permissions or anything. I have changed some internal libraries (using the new Support Lib for instance).
Check the version number in your Manifest. If the version is less than the one on the device, you will not be able to over-install.
You can install it using adb
by using the -r
flag.
See here http://developer.android.com/tools/help/adb.html