【发布时间】:2015-02-25 13:29:27
【问题描述】:
我最近下载了Android Studio,我觉得它的功能比eclipse要多。
我创建了一个带有登录活动的新项目,但该活动似乎有错误:![在此处输入图像描述][1]
**Error:(78, 31) error: cannot find symbol class Builder
Error:Execution failed for task ':app:compileDebugJava'.
> Compilation failed; see the compiler error output for details.**
import com.google.android.gms.plus.PlusClient;
// This is the helper object that connects to Google Play Services.
private PlusClient mPlusClient;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Initialize the PlusClient connection.
// Scopes indicate the information about the user your application will be able to access.
mPlusClient =
new PlusClient.Builder(this, this, this).setScopes(Scopes.PLUS_LOGIN,
Scopes.PLUS_ME).build();
}
【问题讨论】:
-
可能类似的问题是here
标签: java android android-studio