Forum Xamarin.Android

How to add for using map ?

HamittirpanHamittirpan Member ✭✭✭✭

Hi everyone !

When I wanted to use maps in my application, I applied this documentation;

Everything on the ios side works very nicely. But I can't install it on android side because Visual Studio won't let me install in the nuget package manager.

How can i solve it ?

Please Help !!!


Best Answer


  • LeonLuLeonLu Member, Xamarin Team Xamurai
    edited September 2019

    @Hamittirpan If you get the following error when you install this nuget Package?

    Error NU1202 Package Xamarin.GooglePlayServices.Maps 71.1610.0 is not compatible with monoandroid81 (MonoAndroid,Version=v8.1). Package Xamarin.GooglePlayServices.Maps 71.1610.0 supports: monoandroid90 (MonoAndroid,Version=v9.0) GoogleMapForA C:\Users\source\repos\GoogleMapForA\GoogleMapForA\GoogleMapForA.csproj

    If so, you should update your all of the nuget packages in the Android folders to the latest. I upload the
    Xamarin.Android.Support.Design to, then I can install it like following screenshot.

    Becuase this nuget packages have this Dependencies/

    If you did not get the above error message, please post your error message.

    Note, If your project is Xamarin forms, It seems that you should use Xamarin.Forms Map

  • aslamiqbalaslamiqbal Member ✭✭

    @suraj007 said:
    @Hamittirpan your refernce demo map example

    Great work suraj. thanks a lot

  • suraj007suraj007 Member ✭✭✭

    @aslamiqbal thank you.

Sign In or Register to comment.