Skip to content Skip to sidebar Skip to footer

Android - The Api Key Can Only Be Specified Once Duplicates

I’m trying to add Google map in to may app, so I have taken the API key. Unfortunately when I inserted the API key in manifest.xml through a meta-data tag, it automatically inser

Solution 1:

Delete your "com.google.android.maps.v2.API_KEY" meta-data entry.

The "com.google.android.geo.API_KEY" entry is sufficient for both the Maps and Places services.

Source: https://code.google.com/p/gmaps-api-issues/issues/detail?id=7824


EDIT - Google updated their documents to explicitly call this out now:

  1. https://developers.google.com/places/android-api/start#api-key
  2. https://developers.google.com/maps/documentation/android-sdk/signup#use-key

Post a Comment for "Android - The Api Key Can Only Be Specified Once Duplicates"