我在android中使用loginActivity。
错误
can not find symbol class Builder
我还导入了文件: com.google.android.gms.plus.PlusClient
这条线上有错误
mPlusClient = new PlusClient.Builder(this, this, this).setScopes(Scopes.PLUS_LOGIN, Scopes.PLUS_ME).build();
这是从模板自动生成的文件。此错误的原因可能是什么?
编辑
我正在使用android studio
minSdkVersion 11
targetSdkVersion 21
在我的项目中,我将播放服务降级为:
compile 'com.google.android.gms:play-services:6.1.71'
在gradle文件中的依赖项中。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句