1

我正在升级Xamarin应用程序。我已将Xamarin.GooglePlayService nuget软件包更新至v42.1021.1,之前的版本为29.0.0.2。将Google Play服务设备安装与Xamarin.GooglePlayServices库匹配

当我启动我的应用程序时,我检查播放服务是否可用。我收到一个错误,说SERVICE_VERSION_UPDATE_REQUIRED,这是我的预期。

但我的问题是,我用来构建我的应用程序的软件包与需要在手机上安装的谷歌播放服务的版本有关。

例如,在各种手机上,我安装了Google Play服务版本9.4.52和10.0.84,它们都与Xamarin.GooglePlayServices包的29.0.0.2版本兼容。

我怎么知道哪个版本是我42.1021.1版本的我Xamarin.GooglePlayServices包

任何帮助兼容?

回答

1

的的NuGet版本与播放服务的版本在README.md列在Xamarin GooglePlayServicesComponents回购:

| NuGet/Component Version | Google m2repository Version | Google Play Services Version | 
|---------------------------|------------------------------|------------------------------| 
| 25.0      | 19 (GPS SDK 25)    | 7.5.0      | 
| 26.0      | 21 (GPS SDK 26)    | 7.8.0      | 
| 27.0      | 22 (GPS SDK 27)    | 8.1.0      | 
| 29.0      | 24 (GPS SDK 29)    | 8.4.0      | 
|       | 25       | 8.4.0 (no binary changes) | 
|       | 26       | 9.0.0      | 
| 30.0.1.alpha4    | 27 (GPS SDK 30)    | 9.0.1      | 
| 30.0.2-alpha1    | 28       | 9.0.2      | 
|       | 29       | 9.2.0      | 
|       | 30       | (never published)   | 
|       | 31       | 9.2.1      | 
| 32.4.0-beta2    | 32       | 9.4.0      | 
| 32.961.0     | 32       | 9.6.1      | 
| 42.1001.0     | 42       | 10.0.1      | 

回复:https://github.com/xamarin/GooglePlayServicesComponents#versioning

相关问题