Detected package version outside of dependency constraint: Xamarin.AndroidX.Activity.Ktx 1.10.1.3 requires Xamarin.AndroidX.Activity (>= 1.10.1.3 && < 1.10.2) but version Xamarin.AndroidX.Activity 1.11.0 was resolved.

Kim Strasser 1,711 Reputation points
2025-12-14T10:59:07.7333333+00:00

I changed my Android project´s target framework from .NET 9.0 to .NET 10.0 and then I installed all the NuGet package updates.

Screenshot 2025-12-14 114715

I can debug my Android project on my Google Pixel 8a (Android 16.0 - API 36) and I don´t get an error. But I get this warning:

Detected package version outside of dependency constraint: Xamarin.AndroidX.Activity.Ktx 1.10.1.3 requires Xamarin.AndroidX.Activity (>= 1.10.1.3 && < 1.10.2) but version Xamarin.AndroidX.Activity 1.11.0 was resolved.

In addition, after updating my NuGet packages many yellow triangles are displayed next to the packages, but no other package updates seem to be available:

Screenshot 2025-12-14 113756

Screenshot 2025-12-14 113828

Which package versions should I install to avoid the warnings?

I use Visual Studio Community 2026 Version: 18.1.0.

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.