locked
Nuget for Google play services RRS feed

  • Question

  • User51749 posted

    Hi folks,

    I'm getting the error below when trying to add google play services with nuget. I don't understand what the error is telling me. Can anyone shed some light on this for me?

    Many thanks, Mike

    Attempting to resolve dependency 'Xamarin.Android.Support.v4 (= 23.0.1.1)'. Installing 'Xamarin.Android.Support.v4 23.0.1.1'. Successfully installed 'Xamarin.Android.Support.v4 23.0.1.1'. Installing 'Xamarin.GooglePlayServices.Base 26.0.0.0'. Successfully installed 'Xamarin.GooglePlayServices.Base 26.0.0.0'. Removing 'Xamarin.Android.Support.v4 21.0.3.0' from CoreAds.Droid. Successfully removed 'Xamarin.Android.Support.v4 21.0.3.0' from CoreAds.Droid. Adding 'Xamarin.Android.Support.v4 23.0.1.1' to CoreAds.Droid. Uninstalling 'Xamarin.Android.Support.v4 23.0.1.1'. Successfully uninstalled 'Xamarin.Android.Support.v4 23.0.1.1'. Install failed. Rolling back... Could not install package 'Xamarin.Android.Support.v4 23.0.1.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v2.3', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

    Thursday, October 1, 2015 1:37 AM

Answers

  • User209 posted

    Go to Project Properties and set it to compile with a specific version instead of latest sdk version. Then try again.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, October 1, 2015 8:48 AM

All replies

  • User209 posted

    Go to Project Properties and set it to compile with a specific version instead of latest sdk version. Then try again.

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Thursday, October 1, 2015 8:48 AM
  • User51749 posted

    Hey cheers Cheesebaron, that worked for me! Thanks a lot for your help!

    Friday, October 2, 2015 2:23 AM