【问题标题】:Importing Google Play Services into Eclipse hangs将 Google Play 服务导入 Eclipse 时挂起
【发布时间】:2013-03-07 12:15:28
【问题描述】:

我刚刚发现地图服务需要这个。因此我升级到最新的 SDK / Google Play Services。

然后我将它导入到 Eclipse... 但是当我点击“完成时没有任何反应?

上面的截图有什么问题吗?我很确定我已按照说明进行操作,但我一定遗漏了一些东西。

【问题讨论】:

    标签: android eclipse google-play-services


    【解决方案1】:

    如果您想使用 google-play-services,您必须将 lib 添加到您的项目中。

    1. Create ur own android project
    2. Project right click -> Properties
    3. under java build -> library u can add the lib of google-play-services .
    4. use services
    

    【讨论】:

      【解决方案2】:

      标记“将项目复制到工作区”。也许您需要将您的项目设置为将此 Google 项目用作库。

      【讨论】:

        【解决方案3】:

        选择这样的路径

        /extras/google/google_play_services/libproject/google-play-services_lib

        并注意这一点。

        要使用 Google Play 服务 API 进行开发,您必须下载 Google Play 服务 SDK

        .可能是你的文件夹中没有 lib 项目,检查一下。

        http://developer.android.com/google/play-services/index.html

        【讨论】:

        • 感谢您的回复。不过,我已经下载了。不知道为什么它不起作用。但改用了 Benjamins 方法。
        【解决方案4】:

        小心,按照以下步骤操作,节省您的时间

        1. 右键单击您的项目资源管理器。

        2. Select New-> Project -> Android Application Project from Existing Code

        3. 仅浏览至此路径 - “C:\Users**your path**\Local\Android\android-sdk\extras\google\google_play_services”

        4. 小心只浏览 - google_play_services 而不是 google_play_services_lib

        5. 这样你就可以导入google play服务库了。

        如果您对此有任何疑问,请告诉我。

        谢谢

        【讨论】:

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