Xamarin Forms Project Build Issue - Error with Android 13.0 and .NET Framework 4.7.2

DN 0 Reputation points
2024-01-30T05:39:32.9733333+00:00

Hello community, I hope you can help me with an issue I'm facing in my Xamarin Forms project. I've recently upgraded to the latest Xamarin version (5.0.0.2622) and set the target framework for my Android project to Android 13.0. My .NET Framework version is 4.7.2. However, I'm encountering the following error during the build process, which is preventing me from successfully building the Android project: Error: Project Project_name is not compatible with monoandroid13.0 (MonoAndroid,Version=v13.0). Project Project_name supports: net472 (.NETFramework,Version=v4.7.2)

I've tried troubleshooting on my own, but I haven't been able to find a solution. Has anyone else experienced a similar issue or has insights on how to resolve it? Any guidance or suggestions would be greatly appreciated.

Thank you in advance!

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,254 questions
{count} votes