Java – different APK signatures in Android
I have a problem I program on two different computers. When I change from one computer to another, I try to run an application. ADB returns an error because the installed APK and the new APK have different signatures. I have to uninstall it manually
Is there any way to avoid this situation?
thank you
Solution
Edit: see Phil about copying debug Keystore comments This seems to be a better solution
When you build an Android application, it is signed with a debugging key specific to that computer In order to build from two machines without having to delete the application every time you switch, you need to use sign the APK every time you build with the same key
Personally, I just delete applications when switching environments, but I can see that it will be painful if you switch back and forth a lot