xamarin / GooglePlayServicesComponents

Other
315 stars 146 forks source link

Package conflicts while trying to install Xamarin.Firebase.Messaging.71.1733.0-preview3 #209

Open bnoffer opened 5 years ago

bnoffer commented 5 years ago

Xamarin.Android Version (eg: 6.0):

Version: 9.2.3.0 (Visual Studio Enterprise)

Operating System & Version (eg: Mac OSX 10.11):

Mac OS X 10.14.4 Darwin 18.5.0 Darwin Kernel Version 18.5.0 Mon Mar 11 20:40:32 PDT 2019 root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64

Google Play Services Version (eg: 8.4.0):

60.1142.1

Describe your Issue:

Attempting to update to Xamarin.Firebase.Messaging.71.1733.0-preview3 which also updates the Xamarin.GooglePlayServices.* packages to the 71.x-preview packages.

Steps to Reproduce (with link to sample solution if possible):

  1. Update Android project to Android 9 and support libraries to 28.0.0.1
  2. Install Xamarin.Android.Arch.Core.Runtime 1.1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1.1)', 'Xamarin.Android.Arch.Lifecycle.LiveData 1.1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1.1)', 'Xamarin.Android.Arch.Lifecycle.LiveData.Core 1.1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1.1), if not installed by the Android Support Packages.
  3. Try installing Xamarin.Firebase.Messaging.71.1733.0-preview3

Include any relevant Exception Stack traces, build logs, adb logs:

Attempting to gather dependency information for package 'Xamarin.Firebase.Messaging.71.1733.0-preview3' with respect to project 'Real.Droid', targeting 'MonoAndroid,Version=v9.0'
 ...
Total number of results gathered : 636
Gathering dependency information took 8,23 sec
Summary of time taken to gather dependencies per source :
/Users/ban/Projects/relaunch.flow/packages  -   1,5 sec
https://wfp2mobile.pkgs.visualstudio.com/_packaging/wfp2mobile/nuget/v3/index.json  -   29,9 sec
https://api.nuget.org/v3/index.json -   56 sec
Attempting to resolve dependencies for package 'Xamarin.Firebase.Messaging.71.1733.0-preview3' with DependencyBehavior 'Lowest'
Unable to find a version of 'Xamarin.Android.Arch.Core.Common' that is compatible with 'Xamarin.Android.Arch.Core.Runtime 1.1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1.1)', 'Xamarin.Android.Arch.Lifecycle.LiveData 1.1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1.1)', 'Xamarin.Android.Arch.Lifecycle.LiveData.Core 1.1.1.1 constraint: Xamarin.Android.Arch.Core.Common (= 1.1.1.1)'.
moljac commented 5 years ago

Does Real.Droid have some additional dependencies?

bnoffer commented 5 years ago

Please find the packages.config below. packages.txt

bnoffer commented 5 years ago

Just re-tested with preview6, the problem persists.

bnoffer commented 5 years ago

And it continues with the new stable build:

Unable to find a version of 'Xamarin.Firebase.Common' that is compatible with 'Xamarin.Firebase.AppIndexing 71.1602.0 constraint: Xamarin.Firebase.Common (>= 71.1610.0)'.
moljac commented 5 years ago

@bnoffer

These issues are of highest priority right now.