Dmitrii
Dmitrii

Reputation: 624

Multiple sha1 keys for Google play

Is it possible to compile signed an application from different PC in debug mode. So for now sha1 is registered for one and after app is complied it's being shared and installed via apk file. I'm interested in ability to compile debug version from different computers.

Upvotes: 2

Views: 968

Answers (1)

KENdi
KENdi

Reputation: 7771

I'm not sure if that is possible, but this SO question can give you an idea that in deploying your app as debug build, the debug.keystore in 1st PC is different in the 2nd PC. On your 1st PC, you used that debug.keystore to generate the SHA1 key which you used for generating the Google API Key. When you deploy your app at 2nd PC, another debug.keystore is used and the key doesn't match.

The workaround is copy your debug.keystore file from your 2nd PC environment and use it at 1st PC. But you can also enter multiple SHA1 keys in your Google API console like this (for every environment you use, which means you need to create SHA1 keys for the debug.keystore files of all your environments.

Try also to check this link attached to that answer and this documentation for more information.

Upvotes: 1

Related Questions