【问题标题】:Eclipse failed to include google play servicesEclipse 未能包含 google play 服务
【发布时间】:2014-04-03 10:05:38
【问题描述】:

我正在 Eclipse 中试用 android gcm。我已经成功完成了 http 服务器的实现,但是我在 @integer/play 周围的清单文件中收到了一个错误。

我尝试过手动导入 jar,但它不起作用。 有什么帮助吗?

【问题讨论】:

    标签: android eclipse google-play-services google-cloud-messaging


    【解决方案1】:

    请仔细关注instructions

    1. 确保项目库和依赖它的应用程序项目都在您的工作区中。如果缺少其中一个项目,请将其导入您的工作区。
    2. 在包资源管理器中,右键单击依赖项目并选择属性。
    3. 在“属性”窗口中,选择左侧的“Android”属性组,然后找到右侧的“库”属性。
    4. 单击“添加”打开“项目选择”对话框。
    5. 从可用库项目列表中,选择一个项目并单击“确定”。
    6. 对话框关闭后,单击“属性”窗口中的“应用”。
    7. 单击“确定”关闭“属性”窗口。

    基本上,您必须导入 Google Play Services 项目,然后将其作为库添加到项目中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-05-13
      • 1970-01-01
      • 1970-01-01
      • 2014-03-13
      • 2014-08-31
      相关资源
      最近更新 更多