One Google Maps key for all developers?

skayred picture skayred · Sep 16, 2011 · Viewed 13.7k times · Source

We are using a Google MapView in our application but on different computers we must use different API keys, otherwise the MapView doesn't display anything.

Is there a way to set one key for all developers?

Answer

CommonsWare picture CommonsWare · Sep 16, 2011

Is there a way to set one key for all developers?

For the debug signing key, copy your debug keystore (e.g., ~/.android/debug.keystore) between developer PCs, and remember to update all of them again when that keystore expires.

For the production signing key, copy the production keystore between developer PCs.

Note that I have not tried copying keystores between Windows and non-Windows (OS X, Linux), so I don't know if there are any possible issues there related to line endings.