SDK 管理器中缺少 Google Play 服务 [英] Missing Google Play Services in SDK Manager

查看:69
本文介绍了SDK 管理器中缺少 Google Play 服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用中使用 Google 地图.我想在SDK Manager 中安装Google Play Services,但是当我进入SDK Manager 时,我没有看到Google Play Services!为什么?我该如何安装?我可以独立于 SDK Manager 安装它吗?

I want to use Google Maps in my app. I want to install Google Play Services in the SDK Manager, but when I go to the SDK Manager, I don't see Google Play Services! Why? How can I install this? Can I install this independently of the SDK Manager?

我进行了搜索,但找不到解决方案.

I searched, but I could not find a solution for this.

我在 Extras 中看到这些:

I see these in Extras:

  1. Android 支持库
  2. Google AdMob 广告 SDK
  3. Google 分析 SDK
  4. 适用于 Android 的 Google Cloud Messaging 库
  5. Google Play 结算库
  6. Google Play 许可库
  7. Google Play APK 扩展库
  8. Google USB 驱动程序
  9. Google 网络驱动程序
  10. 英特尔硬件加速执行管理器

推荐答案

在此处下载新 SDK:https://developer.android.com/sdk/index.html 并启动 SDK 管理器.然后您会找到 Google Play 服务.

Download the new SDK here: https://developer.android.com/sdk/index.html and start the SDK Manager. Then you will find the Google Play Services.

之后,更新 Eclipse 中的 ADT,您就可以开始了!

Afterwards, update the ADT inside Eclipse and you are ready to go!

旧帖子:

如果您想在您的应用中使用 Google Maps API,您必须下载 Android SDK 中的 Google API.

If you want to use Google Maps API in your app, you have to download the Google API in the Android SDK.

打开 SDK,打开最新的 Android API文件夹"(Android 4.4),查看 Google API 并下载.之后,在 Eclipse 中打开项目属性并选择 Android.在项目构建目标"中,选择 API 级别为 19 的 Google API.

Open the SDK, open the newest Android API "folder" (Android 4.4), check Google API's and download it. After that, open the project properties in Eclipse and choose Android. In "Project Build Target" choose Google APIs with API Level 19.

然后你可以使用谷歌地图活动等

Then you can use the Google Maps Activities etc.

请务必使用最新的 Android SDK 管理器,我目前的版本为 22.3.

Be sure to use the newest Android SDK Manager, i have currently revision 22.3.

这篇关于SDK 管理器中缺少 Google Play 服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆