Android的工作室谷歌播放-服务库 [英] Android Studio Google-play-services library

查看:240
本文介绍了Android的工作室谷歌播放-服务库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要谷歌的播放,服务库,我使用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.

这篇关于Android的工作室谷歌播放-服务库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆