我使用loginActivity android系统。
I am using loginActivity in android.
错误
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();
这是自动从模板生成的文件。 有什么能为这个错误的原因是什么?
This is auto generated file from template. What could be the reason for this error?
修改
我使用的Android工作室
I am using android studio
的minSdkVersion 11
minSdkVersion 11
targetSdkVersion 21
targetSdkVersion 21
我解决了我的项目在降级播放服务:
I solved in my project by downgrading play-services to:
compile 'com.google.android.gms:play-services:6.1.71'
在摇篮文件相关性。
in dependencies in gradle file.