Android的工作室谷歌播放-服务库工作室、Android

由网友(忘不掉却又假装记不起ゝ)分享简介:我需要谷歌的播放,服务库,我使用Android的工作室。I need the google-play-services library and I am using Android Studio.在我安装了SDK管理器中的谷歌播放服务库新增的依赖关系到我的build.gradle 但是,当我同步我的项目,它说:B...

我需要谷歌的播放,服务库,我使用Android的工作室。

I need the google-play-services library and I am using Android Studio.

在我安装了SDK管理器中的谷歌播放服务库 新增的依赖关系到我的build.gradle

但是,当我同步我的项目,它说:

But when I sync my project it says:

无法找到com.google.android.gms:玩-服务:3.1.36

could not found com.google.android.gms:play-services:3.1.36

我认为,3.1.36版本是旧的,我不知道正确的版本。

I thinks the 3.1.36 version is an old one and I dunno the right version.

我应该怎么办?

推荐答案

为了,你需要在SDK管理器的额外安装谷歌库使用该神器,没有的谷歌播放服务,因为它听起来像你这样做。

In order to use that artifact, you need to install the "Google Repository" in the extras of the SDK manager, not "Google Play Services" as it sounds like you've done.

阅读全文

相关推荐

最新文章