I am trying to implement two different Google Keys in the same project, the Google Places API for Android
and the Google Maps Android API
.
I have checked this post and this one but I believe I have a different problem
My manifest looks like this:
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="@string/google_maps_key" />
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="Second Key"/>
The error I get is the following:
Caused by: java.lang.RuntimeException: The API key can only be specified once. It is recommended that you use the meta-data tag with the name: com.google.android.geo.API_KEY in the element of AndroidManifest.xml
Does this mean I cannot use another API in the same project? How do you think I can solve it?
Thanks in advance