Thursday, July 7, 2011

Installing Android Applications - Application Not Installed

OK so I wrote my first Android application today.

I was messing around installing it on a phone, and had this problem where the application had previously installed, but then I created a new signed package, and tried to overwrite and it kept on failing!!

It turns out, that unless the newer version of the application is signed by the same cert as the currently installed version, it will refuse to overwrite.

The solution when you're playing around in a dev environment is to simply delete the app before re-installing, and remember to always publish your apps using the same certificate as the last version!

No comments:

Post a Comment