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?
Obtaining a Google Maps API keyGoogle lets you make 1000 API requests per key for free. Click “Select or create project” and create a project if you don't have one already and only want to look up the key. Then click NEXT to have your key generated.
Google Maps is not free anymore, and all the maps will now receive a message that is “For development purposes only.” After the changes, you have to pay for every single view on your map from now on. Starting from July 2018, Google Maps, Routes, and Places require billing information, such as an associated credit card.
Go to the Google Maps Platform > Credentials page. On the Credentials page, click Create credentials > API key. The API key created dialog displays your newly created API key. Click Close.
API Keys is currently free of charge. If you are using Cloud Endpoints to manage your API, you might incur charges at high traffic volumes. See the Endpoints pricing and quotas page for more information. 240 API calls per minute.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With