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

后端 未结 1 416
别那么骄傲
别那么骄傲 2020-11-30 06:32

I\'m trying to install a nuget package (Xamarin.Firebase.Firestore) which requires a newer version of Xamarin.GooglePlayServices.Basement (60.1142.0, I have 42.1021.1), whic

相关标签:
1条回答
  • 2020-11-30 07:09

    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:

    Visual Studio for Mac:

    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.

    • Understanding Android API Levels

    Manifest Entries:

    Visual Studio for Windows:

    Visual Studio for Mac:

    0 讨论(0)
提交回复
热议问题