加入谷歌播放服务的Eclipse项目项目、Eclipse

2023-09-12 23:38:46 作者:岛屿是海的疤°

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

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.

我的步骤:

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

步骤1至3都很好,但我认为这个问题是在步骤4没有任何反应后,我就第4步,我没有看到我的项目结构的任何变化:没有库添加。还描述了这些步骤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)