谷歌+;Android登录无法解析com.google.Android.gms.plus.plus
我尝试在我的android应用程序中创建一个连接google+,如下所示谷歌+;Android登录无法解析com.google.Android.gms.plus.plus,android,android-studio,google-play-services,google-api-client,google-login,Android,Android Studio,Google Play Services,Google Api Client,Google Login,我尝试在我的android应用程序中创建一个连接google+,如下所示 但我被困在这里了 mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this) .addApi(Plus.API, null) .addScope(Plus.SCOPE_PLUS_LOGIN) .build
但我被困在这里了
mGoogleApiClient = new GoogleApiClient.Builder(this)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this)
.addApi(Plus.API, null)
.addScope(Plus.SCOPE_PLUS_LOGIN)
.build();
错误:com.google.android.gms.plus.plus无法解析
Android Studio版本:0.4.6
操作系统版本:Windows7终极64位
我集成了google play服务,比如
为确保放置了正确的库,请尝试查看build.gradle是否在依赖项部分编译库。 删除库并再次添加,右键单击“添加为库”。 构建->清除项目 再建
希望这有帮助但是你能使用com.google.android.gms.plus中的其他类吗?检查你的sdk中是否有这个类
$android sdk\extras\google\m2repository\com\google\android\gms\play services\4.0.30
@LuisAlberto是的所有其他库,如图所示查看以下答案:这一个也会有帮助: