Android 在Google Play服务中找不到FusedLocationProviderClient

Android 在Google Play服务中找不到FusedLocationProviderClient,android,xamarin,google-api,google-play-services,google-location-services,Android,Xamarin,Google Api,Google Play Services,Google Location Services,我试图通过以下链接将Google Play Services的位置服务与Xamarin一起使用: IsGooglePlayServicesInstalled函数返回true,并且安装了Xamarin.GooglePlayServices.Maps 我做错了什么?解决方案是:安装Xamarin.GooglePlayServices.Location nuget软件包。 在文档中,他们没有提到这个软件包,我甚至不知道它的存在。解决方案是:安装Xamarin.GooglePlayServices.L

我试图通过以下链接将Google Play Services的位置服务与Xamarin一起使用:

IsGooglePlayServicesInstalled函数返回true,并且安装了Xamarin.GooglePlayServices.Maps


我做错了什么?

解决方案是:安装Xamarin.GooglePlayServices.Location nuget软件包。


在文档中,他们没有提到这个软件包,我甚至不知道它的存在。

解决方案是:安装Xamarin.GooglePlayServices.Location nuget软件包。


在文档中,他们没有提到这个包,我甚至不知道它的存在。

错误日志说什么请打印它看起来我缺少包或名称空间。。错误是:找不到类型或命名空间名称“FusedLocationProviderClient”(您是否缺少using指令或程序集引用?)能否显示正在使用的播放服务版本版本:12.2.21(448-188803320)I'v在我关注此链接的帖子中已经提到。我按照步骤操作,但无法定义FusedLocationProviderClient。我认为我的google play服务的版本无关紧要,因为当我添加FusedLocationProviderClient实例的定义时构建失败。错误日志说什么请打印它看起来我缺少包或名称空间。。错误是:找不到类型或命名空间名称“FusedLocationProviderClient”(您是否缺少using指令或程序集引用?)能否显示正在使用的播放服务版本版本:12.2.21(448-188803320)I'v在我关注此链接的帖子中已经提到。我按照步骤操作,但无法定义FusedLocationProviderClient。我认为google play服务的版本无关紧要,因为当我添加FusedLocationProviderClient实例的定义时,构建失败。