Team Development With Google Maps

Android development with Google Maps requires you to generate an API key using the MD5 fingerprint of your keystore certificate.

If there are several people on your team, it’s likely you’ll all have different debug.keystore files, and subsequently different API keys.

To fix this you should share your keystore file in something like Dropbox or a shared network drive folder, and point Eclipse to its location:

Window -> Preferences -> Android -> Build -> Custom Debug Keystore

You might also want to make your Maps API key configurable by storing it in values/strings.xml:

<string name="map_api_key">API KEY HERE</string>

And then refer to it in your Maps layout file:

android:apiKey="@string/map_api_key" />

About this entry