I have a little problem. I program in two different computers and when I change from one to the other and I try to run an aplication the adb return an error because the instaled apk and the new one have different signatures and I have to manually uninstall it.
Is there some way of avoiding that?
Thanks
Edit: See Phil’s comment about copying over debug.keystore. That seems like a preferable solution.
When you build an Android app it’s signed with a debug key specific to that machine. In order to build from two machines without having to delete the app each time you switch you’d need to sign the apk every time you build with the same key.
Personally, I just delete the app whenever I switch environments but I could see that being a pain if you switch back and forth a lot.