-
Notifications
You must be signed in to change notification settings - Fork 50
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
Type kotlinx.serialization.BinaryFormat is defined multiple times #1068
Comments
Thanks for the feedback. Please see: Otherwise provide list of |
OK I just saw
Yes it is very problem (app) specific - dependencies, transitive dependencies. |
So I tracked it down to removing
The particular library that is not correctly aligned keeps changing. Or could it be that removing the package caused this? |
Error
is very different from
where T in your case is 1st one is Warning for now: https://learn.microsoft.com/en-us/dotnet/android/messages/xa0141 Android uses 4kB pages and in the future it will be 16 kB. This warning is for authors of nugets that have native shared ( |
Android framework version
net9.0-android
Affected platform version
.NET 9.0.101
Description
I am trying to compile a Xamarin.android project which was recently converted to .NET MAUI using the upgrade-assistant and making all the necessary changes in files and .csproj.
I suddenly started having issues with the dependencies so I decided to upgrade all of them to the latest versions. I resolved all the issues associated to this #764 but I can't fix this one.
It seems to me that MAUI crucially depends on
xamarin.android.jetbrains.kotlinx_serialization_core_jvm
version1.3.1
. However, some packages in my project also depend onXamarin.KotlinX.Serialization.Core.Jvm
version1.7.3.1
. The class in question is defined in both.How do I resolve this? I can't remove either without errors.
Relevant log output
The text was updated successfully, but these errors were encountered: