Reputation: 55
I am trying to add some packages and I am getting the same error all the time. Below is the error when installing Google Ads:
Package Xamarin.GooglePlayServices.Ads.Lite 60.1142.1 is not compatible with netstandard2.0 (.NETStandard,Version=v2.0). Package Xamarin.GooglePlayServices.Ads.Lite 60.1142.1 supports: monoandroid80 (MonoAndroid,Version=v8.0)
I am getting the same if I try to install Compat packages.
Can anybody give me some advice as I have been changing some parameters and trying to install other versions of the packages (which should work) but I am getting alway the same problem.
Should that package (google ads) be installed only in the Android project or in the main project as well?
Upvotes: 2
Views: 4324
Reputation: 275
This worked for me:
Upvotes: 1
Reputation: 833
Package Xamarin.GooglePlayServices
Is designed only for Android projects. Don't add it to your PCL or iOS project. Only add it to your Android Project.
Upvotes: 9
Reputation: 588
It is android platform specific lib, so it must be only in Droid project
Upvotes: 3