Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Adding Xamarin.GooglePlayServices.Ads & Xamarin.Forms.Maps to Xamarin.Forms project causes error

I am using the latest version of Xamarin.forms and when I add Xamarin.GooglePlayServices.Ads & Xamarin.Forms.Maps to the project I get the following errors:

Attribute "imageAspectRationAdjust" has already been defined (APT0000)
Attribute "imageAspectRation" has already been defined (APT0000)
Attribute "circleCrop" has already been defined (APT0000)

I've tried this in a few projects and even made a fresh one. Anyone know how to fix this issue?

Posts

  • Anyone have any ideas?

  • Did someone resolve this error?

  • aunanueaunanue ARMember ✭✭

    I had the same problem and after two days I finally made it work but I had to delete all the packages and add them again several times.

    Finally I have it working with the following packages:
    Xamarin.Forms 2.0.1.6505
    Xamarin.Forms.Maps: 1.51.6471 CHECK THIS, I'M NOT ADDING THE LATEST PACKAGE!
    Xamarin.GooglePlayServices.Base: 27.0.0.0
    Xamarin.GooglePlayServices.Basement: 27.0.0.0
    Xamarin.GooglePlayServices.Gcm: 25
    Xamarin.GooglePlayServices.Location: 27.0.0.0
    Xamarin.GooglePlayServices.Maps: 27.0.0.0

Sign In or Register to comment.