Skip to content

Conversation

@jonathanpeppers
Copy link
Member

The AndroidXMigration test was failing under a dotnet context:

error NU1605: Detected package downgrade: Xamarin.AndroidX.Lifecycle.LiveData from 2.1.0 to 2.1.0-rc1. Reference the package directly from the project to select a different version.
    UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Lifecycle.LiveData (>= 2.1.0)
    UnnamedProject -> Xamarin.AndroidX.Lifecycle.LiveData (>= 2.1.0-rc1)
error NU1605: Detected package downgrade: Xamarin.Google.Android.Material from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
    UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.Google.Android.Material (>= 1.0.0)
    UnnamedProject -> Xamarin.Google.Android.Material (>= 1.0.0-rc1)
error NU1605: Detected package downgrade: Xamarin.AndroidX.Legacy.Support.V4 from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
    UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0)
    UnnamedProject -> Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0-rc1)
error NU1605: Detected package downgrade: Xamarin.AndroidX.Browser from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
    UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Browser (>= 1.0.0)
    UnnamedProject -> Xamarin.AndroidX.Browser (>= 1.0.0-rc1)

Updating to AndroidX.Migration 1.0.6.1 solves this issue. Let's go
ahead and update all the -rc1 packages to use stable versions.

I also needed to update some file paths in the tests when ILLink is
used for linking.

The `AndroidXMigration` test was failing under a `dotnet` context:

    error NU1605: Detected package downgrade: Xamarin.AndroidX.Lifecycle.LiveData from 2.1.0 to 2.1.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Lifecycle.LiveData (>= 2.1.0)
        UnnamedProject -> Xamarin.AndroidX.Lifecycle.LiveData (>= 2.1.0-rc1)
    error NU1605: Detected package downgrade: Xamarin.Google.Android.Material from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.Google.Android.Material (>= 1.0.0)
        UnnamedProject -> Xamarin.Google.Android.Material (>= 1.0.0-rc1)
    error NU1605: Detected package downgrade: Xamarin.AndroidX.Legacy.Support.V4 from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0)
        UnnamedProject -> Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0-rc1)
    error NU1605: Detected package downgrade: Xamarin.AndroidX.Browser from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Browser (>= 1.0.0)
        UnnamedProject -> Xamarin.AndroidX.Browser (>= 1.0.0-rc1)

Updating to AndroidX.Migration 1.0.6.1 solves this issue. Let's go
ahead and update *all* the `-rc1` packages to use stable versions.

There is a new `Xamarin.AndroidX.AppCompat.AppCompatResources`
dependency needed as well.

I also needed to update some file paths in the tests when `ILLink` is
used for linking.
@jonathanpeppers jonathanpeppers marked this pull request as ready for review July 20, 2020 16:08
@dellis1972 dellis1972 merged commit 277be16 into dotnet:master Jul 21, 2020
@jonathanpeppers jonathanpeppers deleted the androidxmigration branch July 21, 2020 13:45
jonpryor pushed a commit that referenced this pull request Jul 22, 2020
The `AndroidXMigration` test was failing under a `dotnet` context:

    error NU1605: Detected package downgrade: Xamarin.AndroidX.Lifecycle.LiveData from 2.1.0 to 2.1.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Lifecycle.LiveData (>= 2.1.0)
        UnnamedProject -> Xamarin.AndroidX.Lifecycle.LiveData (>= 2.1.0-rc1)
    error NU1605: Detected package downgrade: Xamarin.Google.Android.Material from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.Google.Android.Material (>= 1.0.0)
        UnnamedProject -> Xamarin.Google.Android.Material (>= 1.0.0-rc1)
    error NU1605: Detected package downgrade: Xamarin.AndroidX.Legacy.Support.V4 from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0)
        UnnamedProject -> Xamarin.AndroidX.Legacy.Support.V4 (>= 1.0.0-rc1)
    error NU1605: Detected package downgrade: Xamarin.AndroidX.Browser from 1.0.0 to 1.0.0-rc1. Reference the package directly from the project to select a different version.
        UnnamedProject -> Xamarin.Forms 4.5.0.617 -> Xamarin.AndroidX.Browser (>= 1.0.0)
        UnnamedProject -> Xamarin.AndroidX.Browser (>= 1.0.0-rc1)

Updating to AndroidX.Migration 1.0.6.1 solves this issue. Let's go
ahead and update *all* the `-rc1` packages to use stable versions.

There is a new `Xamarin.AndroidX.AppCompat.AppCompatResources`
dependency needed as well.

I also needed to update some file paths in the tests when `ILLink` is
used for linking.
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants