Google Play 服务库未安装

Posted

技术标签:

【中文标题】Google Play 服务库未安装【英文标题】:Google Play Services Library not installing 【发布时间】:2014-03-13 07:22:05 【问题描述】:

我正在 Eclipse 上制作需要用户当前位置的 android 应用程序,我遇到了这个错误:

   - GooglePlayServicesClient cannot be resolved to be a type

然后我四处寻找解决方案并找到了一个教程。

我关注this tutorial,一旦我进入第 4 步(需要您从 /extras/google/google_play_services/libproject/google-play-services_lib/ 复制库项目并将其移动到我的 Android 项目),我看到在我的 extras 文件夹中,即使我刚刚从我的 Android SDK 管理器成功安装了最新的 Google Play 服务包,extras/google 文件夹中也没有任何内容。

我已尝试再次卸载并安装 Google Play 服务包,但这不起作用。我重新启动了 Android SDK Manager、Eclipse 和我的电脑。我还看到其他软件包安装正确。

【问题讨论】:

确保您正确使用了 sdk 路径?检查您是否有另一个 sdk 副本 你在用模拟器吗? @ViswanathL 我刚刚修好了。 SDK 路径不正确。谢谢 - 我忘了我几年前安装了它。 【参考方案1】:

确保 SDK 路径 正确。

【讨论】:

以上是关于Google Play 服务库未安装的主要内容,如果未能解决你的问题,请参考以下文章

如何将国产android机添加到google play?

您好google play 服务无法运行,怎么办?

手机最近老是出现google play服务出错,怎么处理

不支持Google Play服务要怎么解决

怎么解决很抱歉google play 服务已停止运行

安卓系统怎么安装Google. play