无法解析符号:FusedLocationProviderClient。谷歌播放服务版本使用11.0.1 [英] Cannot Resolve Symbol: FusedLocationProviderClient. Google play services version used 11.0.1
本文介绍了无法解析符号:FusedLocationProviderClient。谷歌播放服务版本使用11.0.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无法解析符号:FusedLocationProviderClient。
Google Play服务使用的版本为11.0.1。
code:while声明
private FusedLocationProviderClient mfusedLocationProviderclient;
解决方案
您只需在 build.gradle 文件:
执行com.google.android.gms:play-services-location:11.0 .1
或者如果您没有使用最新的gradle版本:
compilecom.google.android.gms:play-services-location:11.0.1
Cannot Resolve Symbol: FusedLocationProviderClient.
Google play services version used 11.0.1.
code : while declaration
private FusedLocationProviderClient mfusedLocationProviderclient;
解决方案
You just need to include this in your build.gradle file:
implementation "com.google.android.gms:play-services-location:11.0.1"
or if you're not using latest gradle version:
compile "com.google.android.gms:play-services-location:11.0.1"
这篇关于无法解析符号:FusedLocationProviderClient。谷歌播放服务版本使用11.0.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文