【问题标题】:Google play services in eclipse has stopped workingEclipse 中的 Google Play 服务已停止工作
【发布时间】:2013-03-07 11:56:20
【问题描述】:

在包资源管理器中点击导入的google-play-services_lib出现如下错误:

The project description file (.project) for 'google-play-services_lib' is missing.  
This file contains important information about the project.  
The project will not function properly until this file is restored.

我已经从 SDK 中删除了 Google Play Services 并重新安装了它,但还是出现了同样的错误。

编辑:问题已解决。 google-play-services_lib 文件夹缺少一个名为 .project 的文件

【问题讨论】:

  • 你只想添加google play服务库
  • 是的,我已经将它添加到 eclipse 中,直到两天前我更新了 android SDK 平台工具时它工作正常
  • k..从 extras 中删除旧备份并再次添加安装..

标签: android eclipse google-play-services


【解决方案1】:
  1. 选择项目google-play-services_lib并将其从eclipse中删除,但不要选择从硬盘中删除
  2. 选择 File > Import > Android > Existing Android Code Into Workspace,然后单击 Next。
  3. 选择浏览...。输入 /extras/google/google_play_services/libproject。

如果它仍然无法正常工作,请清理项目并重新启动 eclipse

我的答案来源于here中的第二步

【讨论】:

    【解决方案2】:

    当我在没有“将文件复制到工作区”的情况下导入时为我工作

    【讨论】:

      【解决方案3】:

      我做了什么。我刚刚复制了 extras\google\google_play_services\libproject\google-play-services_libgoogle_play_services\文件夹。

      现在清理并构建lay_service_lib 并再次将该库引用到您的项目中。再次清理并构建您的项目并完成..

      我的 WorkSpace 现在正在使用此帮助。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2015-09-08
        • 2018-09-11
        • 1970-01-01
        • 2015-09-27
        • 2015-02-08
        相关资源
        最近更新 更多