Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

Issues when updating to AndroidX with nuget packages #10275

@PaulVrugt

Description

@PaulVrugt

Description

There seems to be a dependency conflict between xamarin.forms.maps and nuget packages referencing android support libraries (pre AndroidX). I've tried following the instructions and installing specific supportlibraries directly, but nuget fails because other support libraries are also conflicting. I can't get it to work. I'm trying to have this project include the following nuget packages:

Xamarin.Forms 4.5.0.530
Xamarin.Forms.Maps 4.5.0.530
Xamarin.Auth 1.7.0
InTheHand.Forms 1.0.2019.118

There doesn't seem to be a way to make this work while the target framework for android is androidQ. Using a target framework below Q seems to work fine

Steps to Reproduce

  1. Open the attached example project
  2. See the error

Expected Behavior

No version conflicts in support libraries

Actual Behavior

Version conflicts
image

Basic Information

  • Version with issue: 4.5.0.530
  • Last known good version: any version pre 4.5 or targeting android before Q
  • IDE: Visual studio 2019 16.5.2
  • Platform Target Frameworks:
    • Android: Android Q
  • Nuget Packages: Xamarin.Forms.Maps and Xamarin.Auth

Reproduction Link

ReferenceIssue.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions