Hello @Kim Strasser ,
Don't worry. This happens pretty often with AndroidX libraries since they update frequently, and the binding packages don't always sync up right away.
If your app builds and runs fine on your Pixel 8a, you can safely keep working and wait for the next round of package updates. The warning is just letting you know about the version mismatch, but it won't necessarily break anything.
If you want to clear the warning now, you have a couple of options:
- You can downgrade
Xamarin.AndroidX.Activityto version 1.10.1.3 to match what Activity.Ktx expects. Just add this to your.csprojfile:
Then do a clean restore to make sure everything picks up the right version.<PackageReference Include="Xamarin. AndroidX.Activity" Version="1.10.1.3" /> - Alternatively, check if there's a newer version of
Xamarin.AndroidX.Activity.Ktxthat supports Activity 1.11.0. Sometimes these updates roll out a few days apart.
Since you're on .NET 10.0 which is pretty new, some AndroidX bindings might still be catching up. When new updates do appear, try to keep the related package families aligned—so all your Activity packages (Activity, Activity.Ktx, Activity.Compose) and Lifecycle packages should ideally be on the same minor version.
If your build pipeline treats warnings as errors or you start seeing runtime issues, definitely address it. Otherwise, you can continue development and wait for the ecosystem to catch up.