-
Notifications
You must be signed in to change notification settings - Fork 52
Build issue with version 1.9.1 of Xamarin.AndroidX.Activity
#935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
My use case and the step to reproduce I provided are a bit different but I think the second one provides more useful informations. |
@LeDahu22 Thanks for the feedback Please provide list of packages for further investigation. |
Xamarin.AndroidX.Activity
Hi @moljac The only packages I installed are the two I mentionned above.
As for the transitive packages, there are quite a lot of it. Do you need the version for each of them ? |
Alignment bump will be necessary. Like for 1.9.0 https://www.nuget.org/packages/Xamarin.AndroidX.Activity/1.9.0.4 |
@moljac It seems the last delivery fixed this issue for me ! Thank you ! |
Android application type
Android for .NET (net6.0-android, etc.)
Affected platform version
Android 10 API 29
Description
Hi,
Using the following : VS2022 17.10.5 - .Net 8.0.7 - MAUI 8.0.80 SR8 - Android 10
I've got an transitive package error when trying to upgrade these two packages from version 1.9.0.4 to 1.9.1 :
Here are the errors :
Error NU1107 : version conflict detected for Xamarin.AndroidX.Collection.Jvm. Install/reference Xamarin.AndroidX.Collection.Jvm 1.4.2 directly to project NDC.Mobile to resolve this issue.
NDC.Mobile -> Xamarin.AndroidX.Activity 1.9.1 -> Xamarin.AndroidX.Collection 1.4.2 -> Xamarin.AndroidX.Collection.Jvm (>= 1.4.2)
NDC.Mobile -> Xamarin.AndroidX.Preference 1.2.1.8 -> Xamarin.AndroidX.Fragment.Ktx 1.8.1.1 -> Xamarin.AndroidX.Collection.Ktx 1.4.0.5 -> Xamarin.AndroidX.Collection.Jvm (>= 1.4.0.5 && < 1.4.1).
Warning NU1608 : Detected package version outside of dependency constraint : Xamarin.AndroidX.Lifecycle.Process 2.8.3.1 requires Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.3.1 && < 2.8.4) but version Xamarin.AndroidX.Lifecycle.Runtime 2.8.4 was resolved.
Even if I try to install the proper version of Xamarin.AndroidX.Collection.Jvm (1.4.2), it's asking me to install other version of transitive packages, which has no end and eventually doesn't fix the issue.
Thank you.
Steps to Reproduce
Create a new .NET 8 MAUI project, reference the folowing packages :
Try to build and you should get the attached logs
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: