Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Android app is not compiling after adding Xamarin.Android.Crashlytics to the project #766

Open
@hRupanjan

Description

@hRupanjan

The app was working perfectly before adding the aforementioned library. After the addition of the library this error is given.
image

The app has a dependency on Xamarin.Firebase.Messaging.

This is the BuildLog that came with it.

NU1608: Detected package version outside of dependency constraint: Xamarin.Firebase.Analytics 60.1142.1 requires Xamarin.GooglePlayServices.Basement (= 60.1142.1) but version Xamarin.GooglePlayServices.Basement 71.1620.0 was resolved.
NU1608: Detected package version outside of dependency constraint: Xamarin.Firebase.Analytics 60.1142.1 requires Xamarin.Firebase.Common (= 60.1142.1) but version Xamarin.Firebase.Common 71.1610.0 was resolved.
NU1608: Detected package version outside of dependency constraint: Xamarin.Firebase.Analytics.Impl 60.1142.1 requires Xamarin.GooglePlayServices.Basement (= 60.1142.1) but version Xamarin.GooglePlayServices.Basement 71.1620.0 was resolved.
NU1608: Detected package version outside of dependency constraint: Xamarin.Firebase.Analytics.Impl 60.1142.1 requires Xamarin.GooglePlayServices.Tasks (= 60.1142.1) but version Xamarin.GooglePlayServices.Tasks 71.1601.0 was resolved.
NU1608: Detected package version outside of dependency constraint: Xamarin.Firebase.Analytics.Impl 60.1142.1 requires Xamarin.Firebase.Iid (= 60.1142.1) but version Xamarin.Firebase.Iid 71.1710.0 was resolved.
NU1608: Detected package version outside of dependency constraint: Xamarin.Firebase.Analytics.Impl 60.1142.1 requires Xamarin.Firebase.Common (= 60.1142.1) but version Xamarin.Firebase.Common 71.1610.0 was resolved.
1>------ Build started: Project: MyApp.Android, Configuration: Debug Any CPU ------
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\70\jl\res\values\values.xml(6): error APT0000: Attribute "mapType" already defined with incompatible format.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\79\jl\res\values\values.xml(7): error APT0000: Original attribute defined here.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\67\jl\res\values\values.xml(35): error APT0000: Attribute "imageAspectRatioAdjust" already defined with incompatible format.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\78\jl\res\values\values.xml(36): error APT0000: Original attribute defined here.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\67\jl\res\values\values.xml(48): error APT0000: Attribute "buttonSize" already defined with incompatible format.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\78\jl\res\values\values.xml(49): error APT0000: Original attribute defined here.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\67\jl\res\values\values.xml(56): error APT0000: Attribute "colorScheme" already defined with incompatible format.
1>C:\Development\CrossPlatformMobileApp\MyApp\MyApp\MyApp.Android\obj\Debug\90\lp\78\jl\res\values\values.xml(57): error APT0000: Original attribute defined here.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========

Please give some intel on how can we fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions