Bug 49509 - When trying to install all the Google Play Services packages in Xamarin Studio, it fails to install
Summary: When trying to install all the Google Play Services packages in Xamarin Studi...
Status: RESOLVED INVALID
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Jon Dick
URL:
Depends on:
Blocks:
 
Reported: 2016-12-09 19:41 UTC by Manish Sinha
Modified: 2017-09-28 14:35 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Manish Sinha 2016-12-09 19:41:53 UTC
Using XS 6.2.00.1665 (Cycle9)

https://gist.github.com/ca5fb4187c123b33806fa656ea3a8aa6

Create any Android Project
Select the project
MenuBar > Project > Add Google Play Services NuGet
Select all the packages
Click on "Add Packages"
Keep clicking Accept license

All the packages install except "Xamarin.GooglePlayServices.Measurement" because it has a exact dependency on Xamarin.GooglePlayServices.Basement (= 29.0.0.2) whereas other packages depend on Xamarin.GooglePlayServices.Basement 32.961.0

error from Package Console of Xamarin Studio

> Attempting to resolve dependencies for package 'Xamarin.GooglePlayServices.Measurement.29.0.0.2' with DependencyBehavior 'Lowest'
> Unable to resolve dependencies. 'Xamarin.GooglePlayServices.Basement 32.961.0' is not compatible with 'Xamarin.GooglePlayServices.Measurement 29.0.0.2 constraint: Xamarin.GooglePlayServices.Basement (= 29.0.0.2)'.
Comment 1 Jon Dick 2016-12-12 21:20:42 UTC
What class are you looking for specifically?  Measurement was deprecated and no longer exists in v9.6.1, so there are no nuget packages for it either (Google removed it from their release).
Comment 2 Manish Sinha 2016-12-13 18:25:49 UTC
I am not looking for any specific class, but verifying the Google Play Services components listing in Xamarin Studio. In that listing Measurement is one of them. 

XS tries to add this nuget package https://www.nuget.org/packages/Xamarin.GooglePlayServices.Measurement/
Comment 5 Jon Dick 2017-09-28 14:35:08 UTC
There was discussion about this dialog, and I think we can close this now.