Visual-Studio – Xamarin – How do I update Mono.android version to solve dependencies?

It’s too late now, and I’m trying to resist the urge to throw fists at my laptop while cursing Microsoft and Xamarin, because Visual Studio frustrates me. So I’m trying Install a nuget package (Xamarin.Firebase.Firestore), which requires an updated version of Xamarin.GooglePlayServices.Basement (60.1142.0, I have 42.1021.1), which in turn requires me to update the xamarin.android.support package. When I try When updating these, I received this error
“Package Xamarin.Android.Support.Design 27.0.2 is not compatible with monoandroid80 (MonoAndroid, Version=v8.0). Package Xamarin.Android.Support.Design 27.0. 2 Support: monoandroid81(MonoAndroid,Version = v8.1) “

I have tried to change my target Android version to 8.1, and I have also updated my SDK and build tools. I am working on Run Visual Studio 15.6.1. As a final effort, I tried to delete the Mono.Android V8.0 reference, and then add a new V8.1 reference, but whenever I do, Visual Studio finally adds the reference and points to V8.0 Even though the references I added clearly point to V8.1.

Anyone knows how to solve this problem? I ended up here, and it seems to be at a deadlock: (

tried changing my target android version to 8.1

You need to change the target framework used to compile the Android application, not the target Android version (but you can set these two to be the same, please read below Learn about the Android API level link.

Visual Studio for Windows:

enter image description here

Visual Studio for Mac:

enter image description here

Target Framework – Specifies which framework to use in building your application. This API level is used at compile time by Xamarin.Android.

Minimum Android Version – Specifies the oldest Android version that you want your app to support. This API level is used at run time by Android.

Target Android Version – Specifies the version of Android that your app is int ended to run on. This API level is used at run time by Android.

> Understanding Android API Levels

List entry:

Visual Studio for Windows:

enter image description here

Visual Studio for Mac:

enter image description here

It’s very late now, I’m trying to resist the urge to throw fists at my laptop while cursing Microsoft and Xamarin, because Visual Studio frustrates me. So I’m trying Install a nuget package (Xamarin.Firebase.Firestore), which requires an updated version of Xamarin.GooglePlayServices.Basement (60.1142.0, I have 42.1021.1), which in turn requires me to update the xamarin.android.support package. When I try When updating these, I received this error
“Package Xamarin.Android.Support.Design 27.0.2 is not compatible with monoandroid80 (MonoAndroid, Version=v8.0). Package Xamarin.Android.Support.Design 27.0. 2 Support: monoandroid81(MonoAndroid,Version = v8.1) “

I have tried to change my target Android version to 8.1, and I have also updated my SDK and build tools. I am working on Run Visual Studio 15.6.1. As a final effort, I tried to delete the Mono.Android V8.0 reference and then add a new one V8.1 references, but whenever I do, Visual Studio eventually adds references with the path to V8.0 even though the references I added clearly point to V8.1.

Anyone knows how to solve this problem? I ended up here and it seems to be at a deadlock:(

tried changing my target android version to 8.1

blockquote>

You need to change the target framework used to compile the Android application, not the target Android version (but you can set these two to be the same, please read the link below to understand the Android API level.

< p>Visual Studio for Windows:

enter image description here

Visual Studio for Mac:

enter image description here< /p>

Target Framework – Specifies which framework to use in building your application. This API level is used at compile time by Xamarin.Android.< /p>

Minimum Android Version – Specifies the oldest Android version that you want your app to support. This API level is used at run time by Android.

Target Android Version – Specifies the version of Android that your app is intended to run on. This API level is used at run time by Android .

> Understanding Android API Levels

List entry:

Visual Studio for Windows:

enter image description here

Visual Studio for Mac:

enter image description here

Leave a Comment

Your email address will not be published.