Forum Libraries, Components, and Plugins

Maps don't work!

Hi i am trying to deploy on the emulator the very basic example of Maps of the Xamarin university. I created the Key, i installed the Google PLay Services, and i am using API17 and the Google APIs installed for the Emulator. The examples are being compiled successfully but in the deployment the emulator throws and error saying that google play services are missing.

If someone has experienced this issue, it would be nice to share the solution!



  • SebastianSeidel.9226SebastianSeidel.9226 DEInsider, University ✭✭✭✭
    edited October 2014

    Which emulator are you using?

    Xamarin.Android player and Genymotion do not have official Google Play services support. For Genymotion you can find a zip file containing the required APKs. For Xamarin Android player there is no such file at the moment, as far as I know.

    So I would recommend to test you app on real device that has Google Maps app installed. Thus it is save to assume that the Play services are installed.

  • JuanCarlosUsquianoJuanCarlosUsquiano COMember, University ✭✭

    I tested in a real device and it worked. Since then i have been using only the device, as the emulators might be tricky for me. I use google emulators, genymotion and the android players. They raised all the same error. Device did job perfectly. An important thing is that i am using windows, i have found many answers from ppl saying that it works on the emulators, but mac users.

    To be more explicit this is what i have been trying to do:

    I have been trying to run this samples:

    1) Xamarin-forms-samples [from Xamarin website].
    2) MappingAndroidLab_demo1 [from Xamarin University MappingAndroidLab maps class]
    3) WorkingWithMaps [from Xamarin-forms-sample-master]

    using the emulators:

    Google Emulators:

    Android 4.2.2 API 17 ARM (armeabi-v7a)
    Android 4.2.2 API 19 ARM (armeabi-v7a)

    Xamarin Android Players:

    Nexus 4 (Kitkat) Android 4.2.2 API 19 1280x768
    Nexus 4 (Jelly Bean) Android 4.1.1 API 16 1280x768

    Genymotion Emulators:

    Google Galaxy Nexus - 4.3 - API 18 720x1280
    Google Nexus 5 - 4.4.2 - API 19 1080x1920

    using Xamarin Studio 5.5 (build 227)

    with the Operative System: Windows 8.1

    Sebastian, thx for taking the time to anwser.

  • JuanCarlosUsquianoJuanCarlosUsquiano COMember, University ✭✭

    damn it! tricky formatting forum!! i didnt mean to do that!! xd!

Sign In or Register to comment.