xamarin/VervetaCRM

Android - Map not showing up - "Ensure that the following Android Key exists:"

Opened this issue · 3 comments

Map shows only "google" in the left button corner and the + and + buttons.
(e.g. Accounts -> choose an account -> MAP)

Build with this source, no package updated. Only changed to Android SDK V18, after it didnt work with V15 (gave this a try).

"Google Play services" are installed (Rev.22). Any other Google SDK package neccessary?
In Android 4.3.1 "Google APIs" also installed (V18 Rev.3)

Its seems to be the Verveta/debug.keystore is not valid (anymore).
Is it still active under the project "com.xamarin.Meetum" ?

Googled, found "deinstall app, clean and rebuild it", no change.
Tried it on a Samsung S3 and a Samsung S5, map not working.

I could try to put in a package name from me and build a debug.keystore file.
But normally it should work with the one here, right?

@stevenyix no need to hurry

Output from deploy to device
2>Packaging application..
2>Build started.
2>C:\Program Files (x86)\Java\jdk1.6.0_39\bin\jarsigner.exe -keystore "C:\Users\Roland\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Debug\com.xamarin.Meetum-Signed-Unaligned.apk C:_DEV\Xam\VervetaCRM\MobileCRM.Android\obj\Debug\android\bin\com.xamarin.Meetum.apk androiddebugkey
2>C:\Users\Roland\AppData\Local\Android\android-sdk\build-tools\20.0.0\zipalign.exe 4 "C:_DEV\Xam\VervetaCRM\MobileCRM.Android\bin\Debug\com.xamarin.Meetum-Signed-Unaligned.apk" "bin\Debug\com.xamarin.Meetum-Signed.apk"
2>Build succeeded.

Output in debug console after tap on map
E/Google Maps Android API( 3897): Authorization failure. Please see https://developers.google.com/maps/documentation/android/start for how to correctly set up the map.
E/Google Maps Android API( 3897): In the Google Developer Console (https://console.developers.google.com)
Ensure that the "Google Maps Android API v2" is enabled.
E/Google Maps Android API( 3897): Ensure that the following Android Key exists:
API Key: AIzaSyDcLfO8j4seP9AGrC7w9h6gihYyvUcEXy8
E/Google Maps Android API( 3897): Android Application (<cert_fingerprint>;<package_name>): FA:BC:B6:01:05:ED:0B:D4:F5:4A:31:5A:B5:CC:F8:5C:B0:1F:DA:39;com.xamarin.Meetum
E/Google Maps Android API( 3897): Failed to load map. Error contacting Google servers. This is probably an authentication issue (but could be due to network errors).

You will need to get your own API key from google and update the keys. Here is our guide:

http://developer.xamarin.com/guides/android/platform_features/maps_and_location/maps/obtaining_a_google_maps_api_key/

i have the same issue but i am working of android studio. so can i get any help with this?

For whoever arrives here after me
Ensure you have an API key that isn't restricted for Google maps.
Go to google cloud platform dashboard.
Click and open the navigation menu.
Select google maps -> apis.
Select Google map API for android/ios (your required platform).
Click on enable.