我最近下載了Android Studio
,我以爲它有比eclipse
更多的功能。找不到符號類「Builder」
我創建了一個新的項目,以日誌的活動,但似乎有一個與活動的錯誤:[在這裏輸入的形象描述] [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();
}
可能類似的問題是[這裏](http://stackoverflow.com/questions/15108235/unable-to-build-plusclient ) – SMA 2014-12-27 15:22:27