本文介绍了找不到符号类生成器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用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.
这篇关于找不到符号类生成器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!