Forum Xamarin.Android

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Google Maps - does not load the map

Hi!

Who can tell, why not download maps, but only the net? The key is received on the site Google, services for android also included, and did release signing key, and pointed to the site SHA1 key. and operates

Posts

  • AlexSenseyAlexSensey USMember

    nobody faced a similar problem?

  • TomOpgenorthTomOpgenorth CAXamarin Team Xamurai

    You're not giving us much information to help you. There are many reasons why this could be happening.

    • Have you tried the Maps & Location demo on Github?
    • What kind of messages are you seeing in logcat? Did you setup the project in the Google API console?
    • Another problem people run into is the wrong SHA1 key - they think that their APK was signed by one keystore when in reality it was signed by a different one.
  • AlexSenseyAlexSensey USMember

    Log

    [System.err] IOException processing: 26
    [System.err] java.io.IOException: Server returned: 3
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
    [System.err] at java.lang.Thread.run(Thread.java:856)
    [System.err] IOException processing: 26
    [System.err] java.io.IOException: Server returned: 3
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
    [Maps.MyLocationOverlay] Running deferred on first fix: [email protected]
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
    [System.err] at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
    [System.err] at java.lang.Thread.run(Thread.java:856)

  • AlexSenseyAlexSensey USMember

    SHA1 taken from the signature file
    C:\Users\Алекс\AppData\Local\Xamarin\Mono for Android\debug.keystore

    included in the Google API - Google Maps Android API v2 - - Now is green

    Key for Android apps (with certificates) - Android apps:
    DC:0A:D0:E8:92:7F:AD:37:B1:C3:AF:85:BD:BB:3F:8F:AC:7C:5F:8C;com.mapsandlocationdemo

    does not work, the second day I suffer ((((((((

  • AlexSenseyAlexSensey USMember
    edited June 2013

    manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mapsandlocationdemo" android:installLocation="preferExternal"
    application android:label="com.mapsandlocationdemo">
    /application
    uses-sdk android:targetSdkVersion="15" /
    uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /
    uses-permission android:name="android.permission.INTERNET" /
    /manifest>

  • TomOpgenorthTomOpgenorth CAXamarin Team Xamurai

    Looking at your AndroidManifest.XML, it's incomplete. See the AndroidManifest.XML in the MapsAndLocationDemo_v2.

    As for the stack trace that you've posted, hard to say what is going there. Perhaps because you are missing permissions (and other critical elements required for Google Maps v2)?

  • AlexSenseyAlexSensey USMember

    MapsAndLocationDemo_v2. I can not run.
    You can see my project and give what I did wrong?

  • TomOpgenorthTomOpgenorth CAXamarin Team Xamurai
    edited July 2013

    It seems that you're using Google Maps for Android v1, which has been deprecated. Google is no longer providing API keys for this API. You'll want to use Google Maps for Android API v2.

Sign In or Register to comment.