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

相關問題