Search code examples
androidgoogle-mapsandroid-mapviewapi-key

One Google Maps key for all developers?


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?


Solution

  • 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.