Xamarin – How to update Mono.Android version to resolve dependencies?

tried changing my target android version to 8.1

You need to change the Target Framework that is used to compile your android application, not the Target Android version (but assumably you would set these two to the same, read the Understanding Android API Levels link below.

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 intended to run on. This API level is used at run time by Android.

Manifest Entries:

Visual Studio for Windows:

enter image description here

Visual Studio for Mac:

enter image description here

Leave a Comment