harry_mitch
harry_mitch

Reputation: 167

Xamarin.AndroidX.Browser 1.4.0.1 is not compatible with monoandroid10.0 (MonoAndroid,Version=v10.0)

I get this error message in Visual Studio for Mac Community 8.10.21 (build 4) when I want to update my nuget packages in my Android project: Could not update packages.

Checking compatibility for Xamarin.AndroidX.Browser 1.4.0.1 with MonoAndroid,Version=v10.0. Package Xamarin.AndroidX.Browser 1.4.0.1 is not compatible with monoandroid10.0 (MonoAndroid,Version=v10.0). Package Xamarin.AndroidX.Browser 1.4.0.1 supports:

Incompatible packages: 5

nuget packages image

How can I update the 5 nuget packages?

Upvotes: 1

Views: 4293

Answers (1)

Liyun Zhang - MSFT
Liyun Zhang - MSFT

Reputation: 14434

According to the error message, you need to update your monoandroid10.0 to monoandroid12.0.

So you can set the Target Framework in your project as android 12.0 and then try to update the nuget packages.

If you need more information, please check the following link: Xamarin - How to update Mono.Android version to resolve dependencies?

Upvotes: 3

Related Questions