加入谷歌播放服务的Eclipse项目 [英] Add Google Play Services to Eclipse project

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

问题描述

我已经红了一些 的帖子和文章,但它不是为我工作。我不能够添加/使用谷歌游戏服务在我的项目。

I've red a number of posts and articles but it's not working for me. I am not able to add/use the Google Play Services in my project.

我的步骤:

  1. 在我开始它是使用谷歌阿比的2.2
  2. 系统项目
  3. 在我有下载的谷歌播放使用SDK服务
  4. 我导入谷歌播放服务进我的Eclipse工作区
  5. 添加谷歌播放服务作为我的项目的依赖:项目 - >属性 - > Android的 - >库,添加 - >谷歌播放services_lib

步骤1至3都很好,但我认为这个问题是在步骤4没有任何反应后,我就第4步,我没有看到我的项目结构的任何变化:没有库添加。还描述了这些步骤<一href="https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw">here.

Steps 1 till 3 are fine, but I think the problem is in step 4. Nothing happens after I do step 4, I'm not seeing any change in my Project structure: no library is added. These steps are also described here.

我知道这是不工作的原因是因为从谷歌播放服务,取得任何进口是给一个未解决的错误。

The reason I know it is not working is because any import from the Google Play Services is giving an unresolved error.

推荐答案

我发现libproject有播放业务要导入到同一物理驱动器的项目。 (检查项目复制到工作空间复选框,当你输入)

I found that the play services libproject has to be imported onto the same physical drive as your project. (check the 'Copy projects into workspace' checkbox when you import)

这篇关于加入谷歌播放服务的Eclipse项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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