Wednesday, June 5, 2013

[android help] Can't get authorized on Google Maps API v2


Can't get authorized on Google Maps API v2



I'm getting this error in logcat when the map display is attempted with V2 Map API for Android. I am out of things to try to get this working in debug mode on a device...


06-03 18:19:52.696: E/Google Maps Android API(16341): Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map. 06-03 18:19:52.696: E/Google Maps Android API(16341): Ensure that the following correspond to what is in the API Console: Package Name: com.singlemind.djscorner, API Key: AIzaSyBBUocrLHFpOVjttAZyhTNJgI3tqRMhqOM, Certificate Fingerprint: 1158996B095913AEB556F4574702395943225423


Those values are exactly what I input to the Google API Console. To create the certificate used, I removed debug.keystore and allowed Eclipse to generate a new one. I then copied that file to another location and renamed it to test.keystore and configured Eclipse to use it as a custom debug keystore.


manifest.xml:




package="com.singlemind.djscorner"
android:versionCode="1"
android:versionName="1.0" >

android:minSdkVersion="11"
android:targetSdkVersion="17" />
android:name="com.singlemind.djscorner.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />

android:glEsVersion="0x00020000"
android:required="true" />











/>

android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
android:name="com.singlemind.djscorner.activity.LaunchVideoActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >






android:name="com.singlemind.djscorner.activity.MainActivity"
android:label="@string/app_name"/>
android:name="com.singlemind.djscorner.activity.AtomicActivity"
android:theme="@style/AppBaseTheme" />



android:name="com.singlemind.djscorner.util.LocalService"
android:enabled="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" />

android:name="com.singlemind.djscorner.network.JsonSpiceService"
android:exported="false" />

android:name="com.octo.android.robospice.JacksonSpringAndroidSpiceService"
android:exported="false" />
android:name="com.octo.android.robospice.spicelist.BigBinarySpiceService"
android:exported="false" />
android:name="com.singlemind.djscorner.network.ListTweetSpiceService"
android:exported="false" />
android:name="com.google.android.maps.v2.API_KEY"
android:value="AIzaSyBBUocrLHFpOVjttAZyhTNJgI3tqRMhqOM" />





Fragment layout:



android:id="@+id/map"
android:layout_width="match_parent"
android:layout_height="match_parent"
class="com.google.android.gms.maps.SupportMapFragment"
/>


I've followed https://developers.google.com/maps/documentation/android/start to the letter.



.

stackoverflow.comm

No comments:

Post a Comment

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile? So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my v...