You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Migrated Xamarin.Android to .NET Android and Oxyplot Xamarin no longer working #149
I upgraded a Xamarin.Android project to .NET Android (7.0) as recommended by Microsoft now that xamarin went out of support last month.
I get the following error:
##[error]The nuget command failed with exit code(1) and error(NU1202: Package OxyPlot.Xamarin.Android 1.0.0 is not compatible with net70-android33.0 (.NETFramework,Version=v7.0,Profile=android33.0). Package OxyPlot.Xamarin.Android 1.0.0 supports: monoandroid10 (MonoAndroid,Version=v1.0)
I tried adding both the oxyplot Forms and the oxyplot MAUI nugets instead, but they fail as target needs to be windows.
Any solutions for Xamarin.Android apps migrated to .NET Android?
Upgraded my xamarin.android to maui (.android?!?) and I can't seem to get oxyplot.Maui to work the way xamarin.android worked. Any possibility of making the required changes to the xamarin.android package to work with native platforms in the MAUI world now that xamarin is dead?
Just as blank as everything that used microcharts.android (after upgrading to MAUI)
Maybe I need to try and clone the project locally and bump the .NET version to 8 and see what happens. I've requested access to the Syncfusion community edition as graphs and MAUI (Android) is as rare as $3 notes 😥
Cloning the repo locally, and updating the Tnn version of the (SDK) project file to net8, and I now have the demo project in my fragment. Happy days and thanks for the pointer!
I built a replacement for Oxyplot Xamarin Android. It works in exactly the same way, but for .NET 10 Android.
So you can replace the nuget package with the nuget package below and it works exactly the same out of the box
Activity
johnjore commentedon Oct 3, 2024
Me too post!
Upgraded my xamarin.android to maui (.android?!?) and I can't seem to get oxyplot.Maui to work the way xamarin.android worked. Any possibility of making the required changes to the xamarin.android package to work with native platforms in the MAUI world now that xamarin is dead?
AndreCL commentedon Oct 3, 2024
Hi @johnjore (and everyone else with the issue)
After trying a number of recommendations, I found one nuget package that can be used to replace it:
https://www.nuget.org/packages/Tnn.OxyPlot.Xamarin.Android/2.1.2
Currently using this one and it works
johnjore commentedon Oct 3, 2024
Thanks for the heads up, but not being a developer, I dont really understand what the difference is between the Tnn version and the "original" when I look at the Tnn make file: https://github.com/trinnguyen/xamarin-bindings/blob/master/OxyPlot.Xamarin.Android/Makefile
To me it looks like it clones the original Xamarin.Android and compiles it and then pushes it to nuget? Not sure what it actually changes?!?
Sadly, I'm on .NET 8 and Android 34, and I get nothing when I use the example code (view is not populated with anything): https://oxyplot.readthedocs.io/en/latest/getting-started/hello-xamarin-android.html
Just as blank as everything that used microcharts.android (after upgrading to MAUI)
Maybe I need to try and clone the project locally and bump the .NET version to 8 and see what happens. I've requested access to the Syncfusion community edition as graphs and MAUI (Android) is as rare as $3 notes 😥
johnjore commentedon Oct 3, 2024
@AndreCL,
Cloning the repo locally, and updating the Tnn version of the (SDK) project file to net8, and I now have the demo project in my fragment. Happy days and thanks for the pointer!
AndreCL commentedon Mar 18, 2026
Hi all,
I built a replacement for Oxyplot Xamarin Android. It works in exactly the same way, but for .NET 10 Android.
So you can replace the nuget package with the nuget package below and it works exactly the same out of the box
Repo: https://github.com/AndreCL/Oxyplot.DotNetAndroid
Nuget: https://www.nuget.org/packages/Oxyplot.DotNetAndroid
I did it for a project and decided to put it up for everyone that might need it