简体   繁体   中英

Google+ Sign-in for Android cannot resolved com.google.android.gms.plus.Plus

I try to create a connection google+ in my android application like this tutorial
but I'm stuck here

 mGoogleApiClient = new GoogleApiClient.Builder(this)
    .addConnectionCallbacks(this)
    .addOnConnectionFailedListener(this)
    .addApi(Plus.API, null)
    .addScope(Plus.SCOPE_PLUS_LOGIN)
    .build();

erreur :com.google.android.gms.plus.plus cannot resolved

Version of Android Studio: 0.4.6 OS version: Windows 7 Ultimate 64 bits

I integrated google play service like this

在此处输入图片说明

To be sure that you put the correct library try to see if the build.gradle compile your library in dependencies section. Remove your library add again with right click add as library. Build-> clear project build again hope this help

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM