This error occurs when there is an existing SIGNING CERTIFICATE FINGERPRINT (SHA1)
on Google Developers linked to a different account.
Solution is to delete the project that is using that SHA1
in console.developers.google.com
for the old/incorrect project.
You cannot change the SHA1 fingerprint once it is set.
Remember that deleting the project takes 7 days to completely remove it.
Another option is to delete the debug.keystore
and generate a new one with:
keytool -genkey -v -keystore debug.keystore -alias androiddebugkey
-storepass android -keypass android -keyalg RSA -validity 14000
Remember you have to uninstall the app otherwise you get the [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
error.