Search code examples
androidapksignature

android: APK installation failed... same package different signature


I'm working on two different computers with same Android Studio versions, settings and signature. The application is on Dropbox so I can access it from anywhere.

I get this error about APK having different signature when trying to work from the second computer.

Even worst, if I uninstall the APK and re-install from the second computer, the application doesn't behave as it normally does on first computer.

If I go back on first computer and install APK from there again, everything works as it should.

I'm a bit confused and clueless about what to do from here, so any suggestions would be more than welcome.


Solution

  • I get this error about APK having different signature when trying to work from the second computer.

    When you install your app in debug mode(which I am guessing the case here is), android studio signs your apk with a debug key store. Every computer will have a different debug key store. That's why you can't install the app from different computer without uninstalling it first.

    Even worst, if I uninstall the APK and re-install from the second computer, the application doesn't behave as it normally does on first computer.

    This is a different problem from the first one. You would have to more specific here. What is normal behavior. And what exactly is the deviation from that normal behavior.